ALSA: hda - Fix a wrong array range check in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 5 Apr 2010 21:25:13 +0000 (23:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 5 Apr 2010 21:36:16 +0000 (23:36 +0200)
commitf9700d5a4575e7fb343df10a1d29d425e4b81082
tree3a5f062f63a45dbf7da8deb53304e360ae24b905
parentd12841827a6de120199609dadb6ff4ec99bd90ea
ALSA: hda - Fix a wrong array range check in patch_realtek.c

The commit 6a4f2ccb467e00281470cde2dee08fe5ecde62d1 introduced a wrong
comparision for the array range check, which effectively skips the whole
initialization of DAC connections.  Fixed now.

Reference: bko#15689
https://bugzilla.kernel.org/show_bug.cgi?id=15689

Reported-by: Adrian Ulrich <kernel@blinkenlights.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c