All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: Samuel Holland <samuel@sholland.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Dario Binacchi <dariobin@libero.it>,
	 Jean-Jacques Hiblot <jjhiblot@ti.com>,
	Patrick Delaunay <patrick.delaunay@foss.st.com>,
	 Pratyush Yadav <p.yadav@ti.com>
Subject: Re: [PATCH 2/3] gpio: Verify validity of pin offsets from device trees
Date: Wed, 29 Sep 2021 22:08:53 -0600	[thread overview]
Message-ID: <CAPnjgZ0FMzBqUL2VW11C=kFYHvn33w=sq8wxbPQ65VdHZ3q80Q@mail.gmail.com> (raw)
In-Reply-To: <20210911220553.9427-3-samuel@sholland.org>

On Sat, 11 Sept 2021 at 16:06, Samuel Holland <samuel@sholland.org> wrote:
>
> Translation of an OF GPIO specifier should fail if the pin offset is
> larger than the number of pins in the GPIO bank.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
>
>  drivers/gpio/gpio-uclass.c | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

update gpio test?

  reply	other threads:[~2021-09-30  4:11 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 22:05 [PATCH 0/3] gpio: uclass enhancements for DM_GPIO drivers Samuel Holland
2021-09-11 22:05 ` [PATCH 1/3] gpio: Verify validity of pin offsets when looking up names Samuel Holland
2021-09-30  4:08   ` Simon Glass
2021-10-05 22:02   ` Tom Rini
2021-09-11 22:05 ` [PATCH 2/3] gpio: Verify validity of pin offsets from device trees Samuel Holland
2021-09-30  4:08   ` Simon Glass [this message]
2021-10-05 22:02   ` Tom Rini
2021-10-05 22:02   ` Tom Rini
2021-09-11 22:05 ` [PATCH 3/3] gpio: Factor out DT flag translation Samuel Holland
2021-09-30  4:08   ` Simon Glass
2021-10-05 22:02   ` Tom Rini

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CAPnjgZ0FMzBqUL2VW11C=kFYHvn33w=sq8wxbPQ65VdHZ3q80Q@mail.gmail.com' \
    --to=sjg@chromium.org \
    --cc=dariobin@libero.it \
    --cc=jjhiblot@ti.com \
    --cc=p.yadav@ti.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=samuel@sholland.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.