]> git.baikalelectronics.ru Git - kernel.git/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)
commit60fa5484cae0b4ece956f876ff55fe36aa86e24a
tree1d6a758dd3dfea1a1309714770c69282fb12d4b7
parent2e331ea7cc717b90fc82ad33ab2bb90439f5913b
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