]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-toddr: add support for spdifin backend
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 11 Dec 2018 13:47:10 +0000 (14:47 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 12:05:36 +0000 (12:05 +0000)
commitafab1ad1599887f4d4b323f6c64737ae139013e9
treee3510a67fe91fbad3e100c44197baf11d31d1241
parentf7e74a1207f425f3a19dbf536a7a8f70a1d772b6
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>
sound/soc/meson/axg-fifo.h
sound/soc/meson/axg-toddr.c