ASoC: mxs-pcm: Set SNDRV_PCM_INFO_HALF_DUPLEX
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 20 Apr 2013 17:29:01 +0000 (19:29 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Apr 2013 10:27:18 +0000 (11:27 +0100)
commit57364f9ae24c3a29163c23d5219bccef7bccc96a
treec7183bf9d24b655d585041045044c5763043ce88
parentd1e1406c6ed0b92200a7de2a09fbab65661dba3c
ASoC: mxs-pcm: Set SNDRV_PCM_INFO_HALF_DUPLEX

The MXS SAIF is only half-duplex so set the SNDRV_PCM_INFO_HALF_DUPLEX flag for
the PCM in order to prevent playback and capture from running at the same time.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mxs/mxs-pcm.c