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

From: Linus Walleij

Date: Sun Apr 19 2026 - 17:43:14 EST


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@xxxxxxxxxx>

Yours,
Linus Walleij