From ce06b79333d570107240cbf5281cf52c34d50514 Mon Sep 17 00:00:00 2001 From: Chen Liangjun Date: Fri, 13 Jul 2012 14:11:19 +0800 Subject: [PATCH] ENGR00216976 ESAI: add support for 4,6channel p2p Add support for 4, 6 channels p2p playback in ESAI. Signed-off-by: Chen Liangjun --- sound/soc/imx/imx-cs42888.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5