diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-07-13 14:11:19 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2012-07-25 13:10:50 +0800 |
commit | 7548a846af2889283a4943b2114a103b39fe9c40 (patch) | |
tree | 6ba7c93ee8cd5e6213be1b2f3dd5129e763fed12 /sound | |
parent | 546ebdd01050a591a036cbdc17cc26cca6e9bee6 (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.c | 2 |
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); |