linux/sound/soc/mediatek
Trevor Wu 70d1d30355
ASoC: mediatek: mt8188: correct etdm control return value
In mt8188_etdm_clk_src_sel_put() function, val retrieved by FIELD_PREP
is shifted to the corresponding bit filed, so it can compare with the
register value directly.

Originally, the redundant bit shift of the register value results in
the wrong comparison result, so we remove bit shift operation in the
patch.

Fixes: 2babb47774 ("ASoC: mediatek: mt8188: support etdm in platform driver")
Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Link: https://lore.kernel.org/r/20230215125017.16044-1-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-02-20 14:32:18 +00:00
..
common ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt2701 ASoC: mediatek: mt2701-wm8960: Register to module device table 2022-11-09 13:44:24 +00:00
mt6797 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8173 ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe() 2022-12-07 14:19:11 +00:00
mt8183 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8186 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8188 ASoC: mediatek: mt8188: correct etdm control return value 2023-02-20 14:32:18 +00:00
mt8192 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
mt8195 ASoC: mediatek: use helper function 2023-01-31 11:05:02 +00:00
Kconfig ASoC: mediatek: Add support for MT8188 SoC 2023-01-19 15:31:47 +00:00
Makefile ASoC: mediatek: mt8188: add platform driver 2023-01-16 11:16:26 +00:00