linux/sound/soc/fsl
Nicolin Chen b2c119b0bb ASoC: fsl: Disable SSI in trigger() if RE/TE are both cleared
The code enabled SSIEN when triggered by SNDRV_PCM_TRIGGER_START,
so move the disable code to SNDRV_PCM_TRIGGER_STOP for symmetric.

This also allows us to use the SSI driver more flexible so that
it can support some use cases like "aplay S16_LE.wav S24_LE.wav"
which would call the driver in sequence like:
 startup()->hw_params(S16_LE)->trigger(START)->tirgger(STOP)->
 hw_params(S24_LE)->trigger(START)->tirgger(STOP)->shutdown()

If we disable SSIEN in shutdown(), the second hw_params() would
bypass the sample bits setting while using symmetric_rate.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-07-15 11:10:37 +01:00
..
efika-audio-fabric.c ASoC: fsl: Add .owner to struct snd_soc_card 2011-12-22 17:34:32 +00:00
eukrea-tlv320.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
fsl_dma.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
fsl_dma.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
fsl_ssi.c ASoC: fsl: Disable SSI in trigger() if RE/TE are both cleared 2013-07-15 11:10:37 +01:00
fsl_ssi.h ASoC: fsl-ssi: Add SACNT definitions 2013-04-16 13:03:15 +01:00
fsl_utils.c ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
fsl_utils.h ASoC: fsl: remove helper fsl_asoc_get_codec_dev_name 2012-04-01 11:28:27 +01:00
imx-audmux.c ASoC: fsl: imx-audmux: Let device core handle pinctrl 2013-05-12 20:45:34 +04:00
imx-audmux.h ASoC imx-audmux: add MX31_AUDMUX_PORT7_SSI_PINS_7 define 2012-07-18 22:09:40 +01:00
imx-mc13783.c ASoC: imx_mc13783: add .owner to struct snd_soc_card 2013-07-15 11:10:36 +01:00
imx-pcm-dma.c ASoC: imx-pcm-dma: DT support 2013-07-15 11:10:36 +01:00
imx-pcm-fiq.c ASoC: imx-pcm-fiq: Introduce pcm-fiq-params 2013-07-15 11:10:36 +01:00
imx-pcm.h ASoC: imx-pcm-fiq: Introduce pcm-fiq-params 2013-07-15 11:10:36 +01:00
imx-sgtl5000.c ASoC: imx-sgtl5000: return E_PROBE_DEFER if ssi/codec not found 2013-07-04 15:58:47 +01:00
imx-ssi.c ASoC: imx-pcm-fiq: Introduce pcm-fiq-params 2013-07-15 11:10:36 +01:00
imx-ssi.h ASoC: imx-pcm-fiq: Introduce pcm-fiq-params 2013-07-15 11:10:36 +01:00
imx-wm8962.c ASoC: fsl: add imx-wm8962 machine driver 2013-06-12 16:08:24 +01:00
Kconfig ASoC: fsl: add imx-wm8962 machine driver 2013-06-12 16:08:24 +01:00
Makefile ASoC: fsl: add imx-wm8962 machine driver 2013-06-12 16:08:24 +01:00
mpc5200_dma.c powerpc, dma: move bestcomm driver from arch/powerpc/sysdev to drivers/dma 2013-01-03 15:41:20 +01:00
mpc5200_dma.h ASoC: fsl: mpc5200 combine psc_dma platform data 2012-09-18 23:03:42 -04:00
mpc5200_psc_ac97.c ASoC: ac97: Support multi-platform AC'97 2013-06-27 09:48:42 +01:00
mpc5200_psc_ac97.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
mpc5200_psc_i2s.c ASoC: switch over to use snd_soc_register_component() on mpc5200 i2s 2013-03-26 21:55:26 +00:00
mpc8610_hpcd.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
mx27vis-aic32x4.c ASoC: fsl: remove use of imx-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
p1022_ds.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
p1022_rdk.c ASoC: fsl: remove __dev* attributes 2012-12-10 00:30:25 +09:00
pcm030-audio-fabric.c ASoC: pcm030 audio fabric: remove __init from probe 2013-03-12 18:55:26 +00:00
phycore-ac97.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00
wm1133-ev1.c ASoC: fsl: remove use of imx-fiq-pcm-audio from imx-ssi 2013-05-15 09:27:27 +04:00