Commit 585a0707 authored by Sander Vanheule's avatar Sander Vanheule Committed by Bartosz Golaszewski
Browse files

gpio: realtek-otto: fix GPIO line IRQ offset

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: 0d82fb11

 ("gpio: Add Realtek Otto GPIO support")
Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent dd1695a2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment