summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_easrc.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-07-09 16:58:47 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:48:45 +0800
commit1b89c277d102331afe22aefb1379f16d4ada4474 (patch)
treed6fb8f1dd94cf5ac050b94c88e145590853a6c74 /sound/soc/fsl/fsl_easrc.c
parentf3ed8de1383260f56171897f95da016a7a9d4cf5 (diff)
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>
Diffstat (limited to 'sound/soc/fsl/fsl_easrc.c')
-rw-r--r--sound/soc/fsl/fsl_easrc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl/fsl_easrc.c
index 1917e265e70c..21262ee7ded7 100644
--- a/sound/soc/fsl/fsl_easrc.c
+++ b/sound/soc/fsl/fsl_easrc.c
@@ -41,7 +41,6 @@ extern struct snd_soc_component_driver fsl_easrc_dma_component;
SNDRV_PCM_FMTBIT_U24_3LE | \
SNDRV_PCM_FMTBIT_S32_LE | \
SNDRV_PCM_FMTBIT_U32_LE | \
- SNDRV_PCM_FMTBIT_FLOAT_LE | \
SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_U20_3LE | \
SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)