ASoC: fsl_sai: Drop useless channels check in hw_params()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Fri, 20 Dec 2013 08:41:02 +0000 (16:41 +0800)
committerMark Brown <broonie@linaro.org>
Sat, 21 Dec 2013 14:47:29 +0000 (14:47 +0000)
commitd22e28cce80a93578787d273bf1fa26a2be2636b
tree91237ca6db7c85e5a2cb59c3aae71058449b49e9
parent1d7003092771bd2feec30e2f3e5a06aa33479e08
ASoC: fsl_sai: Drop useless channels check in hw_params()

SAi only supports two data channels on hardware level and the driver also does
register the min->1 and max->2, so no need to check channels.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Reviewed-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_sai.c