ALSA: hda: fix oopses in snd-hda-intel after digital slave support additions
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Sat, 13 Sep 2008 14:44:29 +0000 (16:44 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Sep 2008 06:17:54 +0000 (08:17 +0200)
commit9932fbb0b37d13201655b4de2b9acda2f415d83b
tree2ab00fe5a34f24d1e57d07f566adb5cd53767b88
parent8569be3cf90c279957bafd4e66f1332f041831d3
ALSA: hda: fix oopses in snd-hda-intel after digital slave support additions

Many places fail to check if codec has slave_dig_outs entries (the most common
case is not having any entry), leading to various possible oopses in hda_codec
code.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.c