summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_easrc.c
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2019-08-29 14:07:18 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:48:49 +0800
commit646df31f0f82d44a03c025e2bb6d70097d1f401a (patch)
tree73cbc7d3d7c7e2d5506d47c2e092f6ef7d031d20 /sound/soc/fsl/fsl_easrc.c
parent0cbd4bcb1c7c52911ce791a907e4f75f70cf44ae (diff)
MLK-22521-1: ASoC: fsl_easrc:IEC958 is only supported for output
IEC958 is only supported for output according to the RM Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Viorel Suman <viorel.suman@nxp.com> (cherry picked from commit bf36888526c420776c18ca06548b9d3798200beb)
Diffstat (limited to 'sound/soc/fsl/fsl_easrc.c')
-rw-r--r--sound/soc/fsl/fsl_easrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/fsl/fsl_easrc.c b/sound/soc/fsl/fsl_easrc.c
index 347f2577f919..f7cc9ddd9000 100644
--- a/sound/soc/fsl/fsl_easrc.c
+++ b/sound/soc/fsl/fsl_easrc.c
@@ -43,8 +43,7 @@ extern struct snd_soc_component_driver fsl_easrc_dma_component;
SNDRV_PCM_FMTBIT_U32_LE | \
SNDRV_PCM_FMTBIT_S20_3LE | \
SNDRV_PCM_FMTBIT_U20_3LE | \
- SNDRV_PCM_FMTBIT_FLOAT_LE | \
- SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
+ SNDRV_PCM_FMTBIT_FLOAT_LE)
static int fsl_easrc_iec958_put_bits(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
@@ -1817,7 +1816,8 @@ static struct snd_soc_dai_driver fsl_easrc_dai = {
.rate_min = 8000,
.rate_max = 768000,
.rates = SNDRV_PCM_RATE_KNOT,
- .formats = FSL_EASRC_FORMATS,
+ .formats = FSL_EASRC_FORMATS |
+ SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE,
},
.ops = &fsl_easrc_dai_ops,
};