diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-08-23 15:27:25 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-08-23 18:58:07 +0200 |
commit | 70bdbd3d1ae9c4ca3e84a43df34262face26575d (patch) | |
tree | 667e5e1b54749f5dedfabb22f5d884429332a145 /include/pcmcia | |
parent | f065fabc864f4c98857bf67caa2365e9f8545751 (diff) |
ALSA: ali5451: fix timeout handling in snd_ali_{codecs,timer}_ready()
Modify loops in such way that the register value is checked also after
the timeout condition, just in case the heavy interrupt load etc. caused
the thread to sleep for the time period exceeding the timeout value.
While at it remove an extra ALI_STIMER read from snd_ali_stimer_ready().
Reported-by: Jack Byer <ojbyer@usa.net>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/pcmcia')
0 files changed, 0 insertions, 0 deletions