ASoC: imx-ssi: Use a hrtimer in FIQ mode
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 8 Apr 2010 09:31:26 +0000 (11:31 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 8 Apr 2010 14:21:05 +0000 (15:21 +0100)
Using a regular timer results in poll times < 1 jiffie with small
buffers, so we loaded the timer with the actual jiffie value. We can
be more accurate using a hrtimer. Also, we have to call
snd_pcm_period_elapsed after playing period_bytes and not
runtime->period_size (which is in samples and not in bytes).

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found