Commit 3d855c3f authored by Karina Yankevich's avatar Karina Yankevich Committed by Linus Walleij
Browse files

pinctrl: mediatek: paris: handle mtk_hw_set_value() errors in mtk_pmx_set_mux()



mtk_pmx_set_mux() doesn't check the result of mtk_hw_set_value()
despite it may return 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: default avatarKarina Yankevich <k.yankevich@omp.ru>
Link: https://lore.kernel.org/r/20230922135926.3653428-1-k.yankevich@omp.ru


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent caaeb8c5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment