]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: hda - Fix NULL dereference with CONFIG_SND_DYNAMIC_MINORS=n
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Aug 2013 07:55:36 +0000 (09:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Aug 2013 21:22:39 +0000 (23:22 +0200)
commit2ca320e294a738c9134a71b5029de05edbfc7aad
tree69e69bfbef1b83b2381c944e6721415927684d73
parentd3d3835ce919438c00c5d1270d6f9d6ffea59d03
ALSA: hda - Fix NULL dereference with CONFIG_SND_DYNAMIC_MINORS=n

Without the dynamic minor assignment, HDMI codec may have less PCM
instances than the number of pins, which eventually leads to Oops.

Reported-by: Stratos Karafotis <stratosk@semaphore.gr>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c