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 16:21:05 +0200 |
commit | 43a3cec01354573517f1348383e0ab6e6067076b (patch) | |
tree | 6ff27b48e5839c4d4f7292a1e10c6238790df730 /lib/crc-itu-t.c | |
parent | ASoC: imx-pcm-dma-mx2: restart DMA after an error (diff) | |
download | linux-43a3cec01354573517f1348383e0ab6e6067076b.tar.xz linux-43a3cec01354573517f1348383e0ab6e6067076b.zip |
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 'lib/crc-itu-t.c')
0 files changed, 0 insertions, 0 deletions