]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] hda-intel - Make azx_get_response() a bit more robust
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2008 14:32:32 +0000 (15:32 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:05 +0000 (17:30 +0100)
commit28a0d9df0706c523d3bb8de18892c76b78c2e428
tree0bc6757b150a8350a419fd6dd5b884bd53d410ee
parent7cda8ba9f4e471dfba914ecf67fd14ebffb17c16
[ALSA] hda-intel - Make azx_get_response() a bit more robust

In azx_[rirb_]get_response(), the timeout is checked at the end of the loop.
It's better to be checked just after the check of the RIRB index to avoid
a bogus error with a too long msleep().

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