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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:26:28 +0000 (23:26 +0000)
commit 83b0c6ba999643ee8ad6329f26e1cdc870e1a920 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found