From: Chen Liangjun Date: Fri, 13 Jul 2012 06:11:19 +0000 (+0800) Subject: ENGR00216976 ESAI: add support for 4,6channel p2p X-Git-Tag: v3.0.35-fsl~764 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ce06b79333d570107240cbf5281cf52c34d50514;p=karo-tx-linux.git ENGR00216976 ESAI: add support for 4,6channel p2p Add support for 4, 6 channels p2p playback in ESAI. Signed-off-by: Chen Liangjun --- 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);