]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Improve pause/unpause performance in Freescale 8610 drivers
authorTimur Tabi <timur@freescale.com>
Sat, 7 Mar 2009 00:39:34 +0000 (18:39 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 7 Mar 2009 11:01:49 +0000 (11:01 +0000)
commit2ab2a60781be233ef8acfb6f6c9cc54ddbb13830
tree60cf2c815f58380a4e72b8dca2792bd6d9eafcea
parentadccc6c4e16c841c8cef3e1cc6ff70eaa18a1c36
ASoC: Improve pause/unpause performance in Freescale 8610 drivers

Add support for true pause and unpause.  Without this, mplayer will drop some
audio (less than one second, but still noticeable) when pausing playback.

Remove support for PM suspend and resume from the trigger function, since the
driver doesn't support PM anyway.

Optimize the delay after starting capture.  Instead of delaying 1ms, the driver
now polls the hardware.  The new delay is shorter by over 90% yet still
effective.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/fsl_ssi.c