]> git.itanic.dy.fi Git - linux-stable/commit
ASoC: mediatek: mt8186: Configure shared clocks
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 8 Sep 2022 16:11:53 +0000 (12:11 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 9 Sep 2022 17:49:01 +0000 (18:49 +0100)
commit9986bdaee4776c5d595933cace9d54c6bc084e91
tree1d6a758dd3dfea1a1309714770c69282fb12d4b7
parent4132a778e806f77c2bd01a9a34b07edc9dd99d76
ASoC: mediatek: mt8186: Configure shared clocks

i2s0 and i2s1 are paired input/output connected to the same codec and
should share the same clock. Likewise for i2s2 and i2s3. Set the clock
sharing for each pair during the codec's initialization.

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-10-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8186/mt8186-mt6366-da7219-max98357.c
sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c