diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2018-12-11 16:47:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-12-13 15:05:36 +0300 |
commit | 984463a94d5cb23120bfe7d689077b940c25128b (patch) | |
tree | e3510a67fe91fbad3e100c44197baf11d31d1241 /sound/soc/meson/axg-fifo.h | |
parent | 869858f84a65b646052eff1ec75c1f49e638b62b (diff) | |
download | linux-984463a94d5cb23120bfe7d689077b940c25128b.tar.xz |
ASoC: meson: axg-toddr: add support for spdifin backend
add IEC958_SUBFRAME_LE to the list of format accepted by the fifo frontend.
As opposed to what was initially noted in the toddr dai driver, the spdifin
does not place the msb at bit 28, it just output a whole spdif subframe.
Placing the msb at bit 28 in the toddr driver just filters out the parity,
user, channel status and validity bits. It is better to just provide the
whole spdif subframe to the userspace and let the iec958 plugin deal with
it.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/axg-fifo.h')
-rw-r--r-- | sound/soc/meson/axg-fifo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/meson/axg-fifo.h b/sound/soc/meson/axg-fifo.h index cb6c4013ca33..d9f516cfbeda 100644 --- a/sound/soc/meson/axg-fifo.h +++ b/sound/soc/meson/axg-fifo.h @@ -25,7 +25,8 @@ struct snd_soc_pcm_runtime; SNDRV_PCM_FMTBIT_S16_LE | \ SNDRV_PCM_FMTBIT_S20_LE | \ SNDRV_PCM_FMTBIT_S24_LE | \ - SNDRV_PCM_FMTBIT_S32_LE) + SNDRV_PCM_FMTBIT_S32_LE | \ + SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_LE) #define AXG_FIFO_BURST 8 #define AXG_FIFO_MIN_CNT 64 |