summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/Kconfig
diff options
context:
space:
mode:
authorNicolin Chen <b42378@freescale.com>2013-07-10 14:43:54 +0400
committerMark Brown <broonie@linaro.org>2013-07-15 14:10:37 +0400
commitb2c119b0bba808608c48a8f7c9d727956d56561a (patch)
treec6ebd511964e0d7d6bf03e3463219d4a0c5e783d /sound/soc/fsl/Kconfig
parent624dcbdea24b599484895ed5b6a18e869e08d2a5 (diff)
downloadlinux-b2c119b0bba808608c48a8f7c9d727956d56561a.tar.xz
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>
Diffstat (limited to 'sound/soc/fsl/Kconfig')
0 files changed, 0 insertions, 0 deletions