[ALSA] ac97 - Fix potential negative array index
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Nov 2006 14:48:43 +0000 (15:48 +0100)
committerJaroslav Kysela <perex@server.perex.cz>
Wed, 20 Dec 2006 07:55:50 +0000 (08:55 +0100)
Fix the case cidx2 >= 0 and cidx2 < 0 which may result in negative
array index.

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

Simple merge