[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162791061524.24470.4507251211900093020.b4-ty@canonical.com>
Date: Mon, 2 Aug 2021 15:23:42 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Linus Walleij <linus.walleij@...aro.org>,
Sam Protsenko <semen.protsenko@...aro.org>,
Tomasz Figa <tomasz.figa@...il.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Ryu Euiyoul <ryu.real@...sung.com>,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org,
Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>
Subject: Re: [PATCH] pinctrl: samsung: Fix pinctrl bank pin count
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 <krzysztof.kozlowski@...onical.com>
Powered by blists - more mailing lists