gpio: pca953x: log an error when failing to get the reset GPIO
authorLuca Ceresoli <luca.ceresoli@bootlin.com>
Thu, 19 Dec 2024 09:39:46 +0000 (10:39 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 20 Dec 2024 13:42:40 +0000 (14:42 +0100)
commit7cef813a91c468253c80633891393478b9f2c966
tree82160388bff4ebe3257483237b70a088534658ec
parent83a9752729c455a6bd9b7cf62198506180691931
gpio: pca953x: log an error when failing to get the reset GPIO

When the dirver fails getting this GPIO, it fails silently. Log an error
message to make debugging a lot easier by just reading dmesg.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Fixes: 054ccdef8b28 ("gpio: pca953x: Add optional reset gpio control")
Link: https://lore.kernel.org/r/20241219-pca953x-log-no-reset-gpio-v1-1-9aa7bcc45ead@bootlin.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-pca953x.c