archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <>
To: Linus Walleij <>,
	Sam Protsenko <>,
	Tomasz Figa <>,
	Sylwester Nawrocki <>
Cc: Krzysztof Kozlowski <>,
	Ryu Euiyoul <>,,,,,
	Charles Keepax <>
Subject: Re: [PATCH] pinctrl: samsung: Fix pinctrl bank pin count
Date: Mon,  2 Aug 2021 15:23:42 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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

      reply	other threads:[~2021-08-02 13:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-30 19:29 [PATCH] pinctrl: samsung: Fix pinctrl bank pin count Sam Protsenko
2021-08-02 13:23 ` Krzysztof Kozlowski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).