]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.c
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Oct 2006 17:49:31 +0000 (19:49 +0200)
committerJaroslav Kysela <perex@server.perex.cz>
Wed, 20 Dec 2006 07:55:39 +0000 (08:55 +0100)
commitbd2033f27f346610b11b40a74ff7d1d023abcfd9
treebbc250a3b9c525565179a9105f2313114a9d32b6
parentd9301263cce69ee4ef989de5bbe57515ef71a780
[ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.c

Fix wrong error checks of *_ch_mode_put() in patch_realtek.c and
patch_analog.c.  snd_hda_ch_mode_put() could return a positive
value for success, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_realtek.c