[ALSA] [ML403-AC97CR] Fix capture/periodic overrun bug
authorJoachim Foerster <JOFT@gmx.de>
Mon, 5 Nov 2007 14:48:36 +0000 (15:48 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:15 +0000 (17:29 +0100)
commitdddefd0d706da7d981e8e397231df257f0122a49
treea34207d65501763dfdf91c34d724af7bb83774a9
parenta9f00d8df2115b396f13ea74b835f18215a871cc
[ALSA] [ML403-AC97CR] Fix capture/periodic overrun bug

We have to do fairly accurate counting of the minimal periods, instead
of being lazy and just setting the number to zero as soon as one period
elapses.

Signed-off-by: Joachim Foerster <JOFT@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/drivers/ml403-ac97cr.c
sound/drivers/pcm-indirect2.c