diff options
author | Wentao Liang <vulab@iscas.ac.cn> | 2025-03-18 11:07:17 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2025-04-11 00:33:56 +0200 |
commit | a63cafe241d2359ed364f3b04e09bafcbada22cc (patch) | |
tree | 267e90d76aa506a3bab3f0a509014267e3f25510 /tools/perf/scripts/python | |
parent | 0af2f6be1b4281385b618cb86ad946eded089ac8 (diff) |
pinctrl: at91: Add error handling for pinctrl_utils_add_map_mux()
In atmel_pctl_dt_subnode_to_map(), the return value of
pinctrl_utils_add_map_mux() needs to be checked, for the function
will fail to associate group when the group map is full. Add error
handling for pinctrl_utils_add_map_mux() to return immediately and
propagate the error code to caller function when the function fails.
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/20250318030717.781-1-vulab@iscas.ac.cn
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions