]> git.ipfire.org Git - thirdparty/linux.git/commit
gpio: tps65912: check the return value of regmap_update_bits()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Jul 2025 07:50:15 +0000 (09:50 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sun, 13 Jul 2025 08:45:04 +0000 (10:45 +0200)
commita0b2a6bbff8c26aafdecd320f38f52c341d5cafa
tree4ea85516d137b018965f9989ec4f2d484f484f6c
parent3e498b3c7b96a17037b5777c56ccff33d3bfbca5
gpio: tps65912: check the return value of regmap_update_bits()

regmap_update_bits() can fail, check its return value like we do
elsewhere in the driver.

Link: https://lore.kernel.org/r/20250707-gpiochip-set-rv-gpio-round4-v1-2-35668aaaf6d2@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65912.c