diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-04-08 11:31:26 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-04-08 15:21:05 +0100 |
commit | 43a3cec01354573517f1348383e0ab6e6067076b (patch) | |
tree | 6ff27b48e5839c4d4f7292a1e10c6238790df730 /sound/soc/codecs/da7210.c | |
parent | 671999cb5d8817611f865f3877f5a5b81372f61e (diff) |
ASoC: imx-ssi: Use a hrtimer in FIQ mode
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>
Diffstat (limited to 'sound/soc/codecs/da7210.c')
0 files changed, 0 insertions, 0 deletions