]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/jack - Fix NULL-dereference at probing
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Nov 2011 16:53:03 +0000 (17:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 10:14:04 +0000 (11:14 +0100)
commit04b26bbb1bb6fe129a9044832231f97685466683
tree1da5dcddefe6720aa4385a239e02f737124a188b
parentc66de4eacc7c4af2753b337fe81ab3c7e67d1232
ALSA: hda/jack - Fix NULL-dereference at probing

At probing time, the elements that aren't assigned to kctl or jack may
be called.  Need proper NULL-checks.

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