[PATCH v4 08/16] gpio: sandbox: Fully separate pin value from output value
Tom Rini
trini at konsulko.com
Thu Mar 4 19:14:30 CET 2021
On Thu, Feb 04, 2021 at 09:22:01PM -0700, Simon Glass wrote:
> At present we have the concept of a pin's external value. This is what
> is used when getting the value of a pin. But we still set the
> GPIOD_IS_OUT_ACTIVE flag when changing the value. This is not actually
> correct, since if the pin changes from output to input, the external
> value need not change. Adjust the logic for this difference.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Applied to u-boot/next, 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/20210304/8852eab1/attachment.sig>
More information about the U-Boot
mailing list