[PATCH v3 07/21] gpio: add gpio descriptor initialization helper

Tom Rini trini at konsulko.com
Fri Apr 17 23:06:23 CEST 2020


On Mon, Jan 13, 2020 at 11:35:01AM +0100, Patrick Delaunay wrote:

> Add a helper function gpio_desc_init() to initialize the gpio descriptor;
> with this function the flags will be always set to 0.
> 
> It wasn't the case before this patch in dm_gpio_lookup_name.
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>

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/20200417/63caa7e5/attachment.sig>


More information about the U-Boot mailing list