ASoC: mediatek: mt8192-mt6359: Make i2s9 share the clock from i2s8
authorNícolas F. R. A. Prado <nfraprado@collabora.com>
Thu, 8 Sep 2022 16:11:46 +0000 (12:11 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 9 Sep 2022 17:48:53 +0000 (18:48 +0100)
commit3ffb9fa3963964a730c34f48e502ac0625efc145
tree6078c7447502e06bb92ab612d54a2e5fae16daef
parent8ae4fcfd5b11b5c33154732fcad99ad0f5843ce2
ASoC: mediatek: mt8192-mt6359: Make i2s9 share the clock from i2s8

Both i2s8 and i2s9 are connected to the rt5682 codec and should share
the same clock to work in a full-duplex manner. Set the clock sharing
during the initialization for rt5682.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220908161154.648557-3-nfraprado@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-mt6359-rt1015-rt5682.c