Thread (2 messages) 2 messages, 2 authors, 2021-08-02

Re: [PATCH] pinctrl: samsung: Fix pinctrl bank pin count

From: Krzysztof Kozlowski <hidden>
Date: 2021-08-02 13:23:54
Also in: linux-arm-kernel, linux-samsung-soc, lkml

On Fri, 30 Jul 2021 22:29:05 +0300, Sam Protsenko wrote:
Commit 1abd18d1a51a ("pinctrl: samsung: Register pinctrl before GPIO")
changes the order of GPIO and pinctrl registration: now pinctrl is
registered before GPIO. That means gpio_chip->ngpio is not set when
samsung_pinctrl_register() called, and one cannot rely on that value
anymore. Use `pin_bank->nr_pins' instead of `pin_bank->gpio_chip.ngpio'
to fix mentioned inconsistency.
Applied, thanks!

[1/1] pinctrl: samsung: Fix pinctrl bank pin count
      commit: 70115558ab02fe8d28a6634350b3491a542aaa02

Best regards,
-- 
Krzysztof Kozlowski [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help