summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-07-13 14:11:19 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-10-12 07:11:18 -0700
commit97f09cfd59c039f0aa6ab63768cb177dad2a58f8 (patch)
tree6ba7c93ee8cd5e6213be1b2f3dd5129e763fed12 /sound
parent3c3d716d4245460149ade6c40f807795aef5e479 (diff)
ENGR00216976 ESAI: add support for 4,6channel p2p
Add support for 4, 6 channels p2p playback in ESAI. Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/imx-cs42888.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-cs42888.c b/sound/soc/imx/imx-cs42888.c
index 5a22939b8cc0..128c9959a25f 100644
--- a/sound/soc/imx/imx-cs42888.c
+++ b/sound/soc/imx/imx-cs42888.c
@@ -138,7 +138,7 @@ static int config_asrc(struct snd_pcm_substream *substream,
|| !asrc_func)
return -EINVAL;
- if (channel != 2)
+ if ((channel != 2) && (channel != 4) && (channel != 6))
return -EINVAL;
ret = asrc_req_pair(channel, &asrc_esai_data.asrc_index);