]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: mediatek: mt8183: Allow setting shared clocks from machine driver
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 8 Sep 2022 16:11:48 +0000 (12:11 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 9 Sep 2022 17:48:55 +0000 (18:48 +0100)
commitfea84890e5c1fb65ae8e25b2f9b86363af1f45f2
tree28ba41b590e4b07ca9eb82fb55a1b68175dafe36
parent9ccd51ce396a46d9d4d0c87aa6a82dd26a2f281a
ASoC: mediatek: mt8183: Allow setting shared clocks from machine driver

Add a new function to configure the shared clock between two i2s ports,
and export it. This will allow the clock sharing to be set from the
machine driver instead of the devicetree.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220908161154.648557-5-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-afe-common.h
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c