[PATCH v6 07/12] gpio: dw: Return output value when direction is out

Tom Rini trini at konsulko.com
Fri Oct 9 15:01:33 CEST 2020


On Mon, Sep 14, 2020 at 11:02:01AM -0400, Sean Anderson wrote:

> dm_gpio_ops.get_value can be called when the gpio is either input or
> output. The current dw code always returns the input value, which is
> invalid if the direction is set to out.
> 
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> Reviewed-by: Ley Foon Tan <ley.foon.tan at intel.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/20201009/616dc594/attachment.sig>


More information about the U-Boot mailing list