Files
linux/drivers/gpio/gpio-realtek-otto.c
Sander Vanheule db651ace49 gpio: realtek-otto: fix GPIO line IRQ offset
[ Upstream commit 585a070799 ]

The irqchip uses one domain for all GPIO lines, so the line offset
should be determined w.r.t. the first line of the first port, not the
first line of the triggered port.

Fixes: 0d82fb1127 ("gpio: Add Realtek Otto GPIO support")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 19:17:04 +01:00

9.3 KiB