]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: pca953x: Print the error code on read/write failures
authorFabio Estevam <festevam@denx.de>
Wed, 21 Aug 2024 11:42:02 +0000 (08:42 -0300)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 21 Aug 2024 12:28:55 +0000 (14:28 +0200)
commitb41a9bf2c64eea119bb6cbef420345f547b9a677
tree5a98a2dd2ff5b4be4e5a7b4adb7256c330677130
parent2a4727e6a8bd1d2b8ae7abf95061eda0457c4d79
gpio: pca953x: Print the error code on read/write failures

Print the error code in the pca953x_write_regs() and pca953x_read_regs()
functions to help debugging.

Suggested-by: Russell King (Oracle) <linux@armlinux.org.uk>
Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://lore.kernel.org/r/20240821114202.2072220-1-festevam@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pca953x.c