diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-02-28 18:30:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-03-04 02:38:16 +0300 |
commit | 2e95f984aae4cf0608d0ba2189c756f2bd50b44a (patch) | |
tree | a81f2930386dcc30815ae9b55366f7a2e18b23e1 /sound/soc/codecs/ab8500-codec.c | |
parent | f060f46f09bb920d1e0d436d654996033b856e26 (diff) | |
download | linux-2e95f984aae4cf0608d0ba2189c756f2bd50b44a.tar.xz |
ASoC: hdmi-codec: fix S/PDIF DAI
When using the S/PDIF DAI, there is no requirement to call
snd_soc_dai_set_fmt() as there is no DAI format definition that defines
S/PDIF. In any case, S/PDIF does not have separate clocks, this is
embedded into the data stream.
Consequently, when attempting to use TDA998x in S/PDIF mode, the attempt
to configure TDA998x via the hw_params callback fails as the
hdmi_codec_daifmt is left initialised to zero.
Since the S/PDIF DAI will only be used by S/PDIF, prepare the
hdmi_codec_daifmt structure for this format.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ab8500-codec.c')
0 files changed, 0 insertions, 0 deletions