MLK-23567-2: ASoC: fsl_xcvr: use same format for both RX and TX
The only supported XCVR format is IEC958_SUBFRAME_LE, so use it for both RX and TX. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
This commit is contained in:
parent
80aaafd873
commit
e40f7a6b1a
|
@ -585,7 +585,7 @@ static const struct snd_soc_pcm_stream capture = {
|
|||
.rate_min = 32000,
|
||||
.rate_max = 1536000,
|
||||
.rates = SNDRV_PCM_RATE_KNOT,
|
||||
.formats = FSL_XCVR_FORMATS_RX,
|
||||
.formats = FSL_XCVR_FORMATS,
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_driver fsl_xcvr_dai = {
|
||||
|
|
|
@ -8,11 +8,7 @@
|
|||
#ifndef __FSL_XCVR_H
|
||||
#define __FSL_XCVR_H
|
||||
|
||||
#define FSL_XCVR_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\
|
||||
SNDRV_PCM_FMTBIT_S24_LE |\
|
||||
SNDRV_PCM_FMTBIT_S32_LE)
|
||||
|
||||
#define FSL_XCVR_FORMATS_RX (SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
|
||||
#define FSL_XCVR_FORMATS (SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE)
|
||||
|
||||
#define FSL_XCVR_AMODE_SPDIF (0x00 << 2)
|
||||
|
||||
|
|
Loading…
Reference in New Issue