aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/meson-codec-glue.h
AgeCommit message (Collapse)Author
2024-01-15ASoC: meson: g12a: extract codec-to-codec utilsJerome Brunet
[ Upstream commit 9c29fd9bdf92900dc0cc5c2d8f58951a7bdc0f41 ] The hdmi routing mechanism used on g12a hdmi is also used: * other Amlogic SoC types * for the internal DAC path Each of these codec glues are slightly different but the idea behind it remains the same. This change extract some helper functions from the g12a-tohdmitx driver to make them available for other Amlogic codecs. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20200213155159.3235792-3-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: 1e001206804b ("ASoC: meson: g12a-tohdmitx: Validate written enum values") Signed-off-by: Sasha Levin <sashal@kernel.org>