summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-08 12:08:38 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-08 12:08:38 +0200
commite5b50ada76f44c8742a123813689bff4db062a5a (patch)
tree44749468fa4996afa2cf33337be62f71ea447df8 /sound/pci/hda/patch_realtek.c
parentALSA: hda - Add dock support for Thinkpad T440 (17aa:2212) (diff)
downloadlinux-e5b50ada76f44c8742a123813689bff4db062a5a.tar.xz
linux-e5b50ada76f44c8742a123813689bff4db062a5a.zip
ALSA: Allow pass NULL dev for snd_pci_quirk_lookup()
Add a NULL check in snd_pci_quirk_lookup() so that NULL can be passed as a pci_dev pointer. This fixes the possible NULL dereferences in HD-audio drivers. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions