[PATCH] gpio: rockchip: Fix GPIO after convert to dynamic base allocation

Linus Walleij linusw at kernel.org
Sun Apr 19 14:42:51 PDT 2026


Thanks for fixing this Jonas,

this also uses the function in the right way: instead of using
gc->base which just happened to match the pin base it passes
bank->pin_base which makes a lot of sense.

(My original response mail was a bit whimsical because I
didn't realize the offset passed as argument 1 is local and not
global.... but you figured that out.)

Reviewed-by: Linus Walleij <linusw at kernel.org>

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list