diff options
author | Jia-Ju Bai <[email protected]> | 2021-03-06 04:51:22 -0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-03-15 16:36:45 +0100 |
commit | 47386ce36f904583d45c82087d992a50ad612c8b (patch) | |
tree | b9a0a4d08f16bc79f5da670468d0087a3bf738d3 /tools/perf/scripts/python | |
parent | be786ac5a6c4bf4ef3e4c569a045d302c1e60fe6 (diff) |
pinctrl: ti: fix error return code of ti_iodelay_probe()
When ti_iodelay_pinconf_init_dev() fails, no error return code of
ti_iodelay_probe() is assigned.
To fix this bug, ret is assigned with the return value of
ti_iodelay_pinconf_init_dev(), and then ret is checked.
Reported-by: TOTE Robot <[email protected]>
Signed-off-by: Jia-Ju Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions