summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTrevor Wu <trevor.wu@mediatek.com>2023-02-15 15:50:16 +0300
committerMark Brown <broonie@kernel.org>2023-02-20 17:32:18 +0300
commit70d1d30355095a22c8aa98dba9ca12486deff020 (patch)
tree62eca7ae7a5fbc70d1b38cc9c097a1c0e7d52362 /tools/perf/scripts/python
parent51c58a1ebc047acc4ac2a61a5f215c7a638a685b (diff)
downloadlinux-70d1d30355095a22c8aa98dba9ca12486deff020.tar.xz
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: 2babb4777489 ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions