ASoC: meson: spdifin: start hw on dai probe
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 7 Sep 2023 09:05:04 +0000 (11:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:35 +0000 (14:56 +0200)
commit7a7fd891022a692ecfa1e32b6eb3de417669afd2
treed717afc6a072e9e462eb7b10a6874efb8b2b3103
parent7e5d732e6902eb6a37b35480796838a145ae5f07
ASoC: meson: spdifin: start hw on dai probe

[ Upstream commit aedf323b66b2b875137422ecb7d2525179759076 ]

For spdif input to report the locked rate correctly, even when no capture
is running, the HW and reference clock must be started as soon as
the dai is probed.

Fixes: 5ce5658375e6 ("ASoC: meson: add axg spdif input")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20230907090504.12700-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/meson/axg-spdifin.c