History log of /linux-master/drivers/gpio/gpio-rtd.c
Revision Date Author Comments
# c8fb5a52 11-Jan-2024 Dan Carpenter <dan.carpenter@linaro.org>

gpio: rtd: Fix signedness bug in probe

The "data->irqs[]" array holds unsigned int so this error handling will
not work correctly.

Fixes: eee636bff0dc ("gpio: rtd: Add support for Realtek DHC(Digital Home Center) RTD SoCs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


# eee636bf 28-Dec-2023 Tzuyi Chang <tychang@realtek.com>

gpio: rtd: Add support for Realtek DHC(Digital Home Center) RTD SoCs

This driver enables configuration of GPIO direction, GPIO values, GPIO
debounce settings and handles GPIO interrupts.

Signed-off-by: Tzuyi Chang <tychang@realtek.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>