]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - Allow NULL bus->pci
authorTakashi Iwai <tiwai@suse.de>
Sat, 15 Feb 2014 09:03:19 +0000 (10:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 15 Feb 2014 09:11:56 +0000 (10:11 +0100)
commit5100cd07d43a137ed2e73ecf815ba02f19484a59
treeca9e4c6e3017e7c9521b65170372eeee653b557c
parented9d0b626e65ab653e5421083d8dcd59cacd1132
ALSA: hda/realtek - Allow NULL bus->pci

Realtek codec driver contains some codes referring to the PCI
subdevice IDs, but most of them are optional, typically for checking
the codec name variants.  Add NULL checks appropriately so that it can
work without PCI assignment.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c