ALSA: atiixp - Fix wrong time-out checks during ac-link reset
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Mar 2011 14:45:32 +0000 (15:45 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Mar 2011 14:45:32 +0000 (15:45 +0100)
commit7e79443ce250776b8477426127acdac15c567f22
tree25141b63c232b77bc45053e08690a91dd7cb3f9f
parent966a7f0dc4de57cf52467968e4244d218a5c3506
ALSA: atiixp - Fix wrong time-out checks during ac-link reset

The time-out in snd_atiixp_aclink_reset() is wrongly checked, and
it resulted in exiting from the loop at the first iteration.

Reported-by: Amir Shamsuddin <AmirS2+alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/atiixp.c
sound/pci/atiixp_modem.c