At Fri, 02 Nov 2007 18:52:19 +0100, Joachim Foerster wrote:
Hi all,
this is a bug fix for my ALSA driver I posted in August. Since then I hadn't the time to look at it, but some days ago I took some time and found the reason why there are so many overruns while capturing. Furthermore, this patch removes the one "heavy" printk for capture debugging.
From: Joachim Foerster JOFT@gmx.de
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
Oh, it seems that your patch was lost in the patch queue before ALSA 1.0.15 release. Sorry, I applied the last one now to ALSA HG tree together with this one.
The patch to arch/ppc/syslib/virtex_device.c isn't still applied (because it's outside the ALSA HG tree). For applying this to alsa git tree, Jaroslav would need to apply manually.
Jaroslav, could you add it please?
... Or, feel free to apply that patch to ppc tree separately. It shouldn't break anything, at least :)
Thanks,
Takashi