linux/sound/soc/fsl
Timur Tabi 5e538ecade ASoC: improve asynchronous mode support in the fsl_ssi driver
The Freescale SSI audio controller supports "synchronous" and "asynchronous"
modes.  In synchronous mode, playback and capture use the same input clock,
so sample rates must be the same during simultaneous playback and capture.
Unfortunately, the code which supports asynchronous mode is just broken in
various ways.  In particular, it was constraining sample sizes as well as
the sample rate.

The fix also allows us to simplify the code by eliminating the 'asynchronous',
'playback', and 'capture' variables that were used to keep track of playback
and capture streams.

Unfortunately, it turns out that simulataneous playback and record does not
actually work on the only platform that supports asynchronous mode: the
Freescale P1022DS reference board.  If a second stream is started, the SSI
grinds to halt for both streams.  This is true even if the P1022 is configured
for synchronous mode, so it's likely a hardware problem that needs to be
worked around.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-09-16 00:05:29 +01:00
..
efika-audio-fabric.c ASoC: efika-audio-fabric: fix resource leak in efika_fabric_init error path 2010-11-25 11:08:13 +00:00
fsl_dma.c Merge branch 'for-3.1' into for-3.2 2011-08-22 23:33:01 +01:00
fsl_dma.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_ssi.c ASoC: improve asynchronous mode support in the fsl_ssi driver 2011-09-16 00:05:29 +01:00
fsl_ssi.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
Kconfig ASoC: add support for the Freescale P1022 DS reference board 2010-08-20 12:14:48 +01:00
Makefile ASoC: add support for the Freescale P1022 DS reference board 2010-08-20 12:14:48 +01:00
mpc5200_dma.c ASoC: MPC5200: replace of_device with platform_device 2011-08-24 20:22:05 +01:00
mpc5200_dma.h Merge branch 'for-2.6.36' into for-2.6.37 2010-08-16 18:42:58 +01:00
mpc5200_psc_ac97.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc5200_psc_ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_psc_i2s.c dt/sound: Eliminate users of of_platform_{,un}register_driver 2011-02-28 13:22:44 -07:00
mpc8610_hpcd.c sound/soc/fsl/mpc8610_hpcd.c: add missing of_node_put 2011-08-22 23:29:17 +01:00
p1022_ds.c ASoC: Remove redundant -codec from WM8776 driver name 2011-08-31 09:52:24 +01:00
pcm030-audio-fabric.c ASoC: pcm030-audio-fabric: fix resource leak in pcm030_fabric_init error path 2010-11-25 11:08:25 +00:00