summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-07-09 16:58:47 +0800
committerShengjiu Wang <shengjiu.wang@nxp.com>2019-07-09 17:16:06 +0800
commitc9de16865f302a789a39ca1e30d6d843dd38031c (patch)
tree7b7b610eec33c3c8ee92cab4f9a6d9eea813d61f /sound
parent3bc5b8d935d72366b23760f6817b485e83ddfc56 (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')
-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 a81bac6a0d16..f7559e9377f4 100644
--- a/sound/soc/fsl/fsl_easrc.c
+++ b/sound/soc/fsl/fsl_easrc.c
@@ -41,7 +41,6 @@ extern struct snd_soc_platform_driver fsl_easrc_platform;
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)