[PATCH 2/3] gpio: Verify validity of pin offsets from device trees

Tom Rini trini at konsulko.com
Wed Oct 6 00:02:11 CEST 2021


On Sat, Sep 11, 2021 at 05:05:52PM -0500, Samuel Holland 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 at sholland.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211005/704a08bb/attachment.sig>


More information about the U-Boot mailing list