MLK-22161: fsl_easrc: Remove float point format support
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 9 Jul 2019 08:58:47 +0000 (16:58 +0800)
committerShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 19 Jul 2019 10:25:30 +0000 (18:25 +0800)
commit3147de4f854c2da392c46f243a95d36aafb5bd1b
tree00e2ae6f8179bf8987ad2dd522e61aecb07f65cd
parent1d357c049235c679d85c2b04b19b8d33b9603d9f
MLK-22161: fsl_easrc: Remove float point format support

The input audio float data range is normalized to (-1, 1), but
the hardware will drop to fractional part if output format
is integer format, so the output is all zero, which does not flow
the normal audio case, that to shift the output to Q15/Q31.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
sound/soc/fsl/fsl_easrc.c