MLK-15053: ASoC: fsl: imx-cs42888: Reject unsupported sampling rates
authorMihai Serban <mihai.serban@nxp.com>
Wed, 14 Jun 2017 12:40:32 +0000 (15:40 +0300)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:17 +0000 (15:28 -0500)
commit50336bcb7cefbafa6ea4d7d6e9a0b7ab61f2c6d8
treed84a6e11c4751f3a8df3ea37102bf34b31dc0b10
parent982bbc89799028eb7e15ef32ce41053e1f8ca22d
MLK-15053: ASoC: fsl: imx-cs42888: Reject unsupported sampling rates

Dynamic constraints for supported sampling rates cannot prevent aplay to
play audio files with higher rates. So we remove the constraints and hard
reject the unsupported samples.

Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
sound/soc/fsl/imx-cs42888.c