MLK-15033-1: ASoC: fsl: Change rate constraints in TDM mode for AK4458
authorCosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Wed, 31 Jan 2018 09:20:01 +0000 (11:20 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:54:13 +0000 (14:54 -0500)
commit2cceb01388c8e80be1eaaca7894cc5a9737b5966
tree430eea96fc24e70e4f9bead34ebd493180e67ef3
parent0e91572f26049432d561a16d6bd63c8663be0a1f
MLK-15033-1: ASoC: fsl: Change rate constraints in TDM mode for AK4458

When in TDM mode, change constraints for rate and allow only
rates in [8KHz, 96KHz] due to the limitations of SAI master
clock. If rate is higher than 96KHz, the TX rate cannot be
obtained using only a 49MHz SAI clock.

Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
sound/soc/fsl/imx-ak4458.c