diff options
author | Karina Yankevich <k.yankevich@omp.ru> | 2023-09-22 15:59:26 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2023-09-27 10:39:29 +0200 |
commit | 96a35cf6a4e4b15894eb0439205df68af1c0e28b (patch) | |
tree | ab6d92aeb46b44b7f22ba5e091fa68c233654716 /drivers/cpufreq | |
parent | pinctrl: mediatek: paris: handle mtk_hw_set_value() errors in mtk_pmx_set_mux() (diff) | |
download | linux-96a35cf6a4e4b15894eb0439205df68af1c0e28b.tar.xz linux-96a35cf6a4e4b15894eb0439205df68af1c0e28b.zip |
pinctrl: mediatek: moore: handle mtk_hw_set_value() errors in mtk_pinmux_set_mux()
mtk_pinmux_set_mux() doesn't check the result of mtk_hw_set_value()
despite it may return a negative error code. Propagate error code
to caller functions.
Found by Linux Verification Center (linuxtesting.org) with the Svace static
analysis tool.
Signed-off-by: Karina Yankevich <k.yankevich@omp.ru>
Link: https://lore.kernel.org/r/20230922135926.3653428-2-k.yankevich@omp.ru
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions