diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-24 21:16:45 +0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-06-26 11:50:46 +0200 |
| commit | 479e91fc92416a4d54d2b3150aa1e4550d9cc759 (patch) | |
| tree | c4a76f5b9d22103594344f5042353b65e6c9ea94 /drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git | |
| parent | 962528fef90253aeded29cee20a9b6ff3595fed4 (diff) | |
gpio: mvebu: fail probe if gpiochip registration fails
mvebu_gpio_probe() registers the GPIO chip with
devm_gpiochip_add_data() but ignores the return value. If registration
fails, probe continues and leaves later code operating on a GPIO chip
that was never published to gpiolib.
Return the registration error so the device fails probe cleanly.
Fixes: fefe7b092345 ("gpio: introduce gpio-mvebu driver for Marvell SoCs")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Link: https://patch.msgid.link/20260624131645.86884-1-pengpeng@iscas.ac.cn
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'drivers/gpu/nova-core/fsp/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
