diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-11-27 17:08:36 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-12-02 02:33:33 +0100 |
commit | 9f9d17c228c89e38ed612500126daf626270be9a (patch) | |
tree | a466920de5354cffa2ab6a30a3d8ef7d1d96d448 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 67bbbcb49b968a93251de7b23616d5aff5d3a726 (diff) |
pinctrl: mediatek: add a check for error in mtk_pinconf_bias_get_rsel()
All the other mtk_hw_get_value() calls have a check for "if (err)" so
we can add one here as well. This silences a Smatch warning:
drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.c:819 mtk_pinconf_bias_get_rsel()
error: uninitialized symbol 'pd'.
Fixes: fb34a9ae383a ("pinctrl: mediatek: support rsel feature")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211127140836.GB24002@kili
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions