ALSA: hda - Fix oops caused by recent commit "Fix internal mic for Lenovo Ideapad...
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 10 Apr 2012 11:05:29 +0000 (13:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Apr 2012 12:55:01 +0000 (14:55 +0200)
commit83b0c6ba999643ee8ad6329f26e1cdc870e1a920
treef1b501a536c74d018987a4915689c2ef0dd3cd59
parent5ff5c3a4ab0d638fa63e939e75727c233b681e8d
ALSA: hda - Fix oops caused by recent commit "Fix internal mic for Lenovo Ideapad U300s"

Make sure we don't dereference the "quirk" pointer when it is null.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c