Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:[email protected]]
> On Behalf Of Paul Fertser
> Sent: Samstag, 2. Oktober 2021 18:51
> To: Adrian Schmutzler <[email protected]>
> Cc: [email protected]; 'Sander Vanheule'
> <[email protected]>
> Subject: Re: [PATCH v3] realtek: ensure output drivers are enabled in
> RTL8231
> 
> Hello Adrian,
> 
> Thank you for taking care about this. One note below.
> 
> On Sat, Oct 02, 2021 at 06:37:22PM +0200, Adrian Schmutzler wrote:
> > > The bootloader can leave the GPIO expander in a state which doesn't
> > > have output drivers enabled so GPIOs will properly work for input
> > > but output operations will have no effect.
> ...
> > > Reviewed-by: Sander Vanheule <[email protected]>
> > > Signed-off-by: Paul Fertser <[email protected]>
> >
> > I added
> >
> > Fixes: 16ae56b4f9ec ("realtek: fix RTL8231 gpio expander for high
> > GPIOs")
> 
> Even though the patch changes the code that was introduced before with
> the patch you mention it's not fixing it. Commit 16ae56b4f9ec was fixing
> another bug (working with high GPIOs) and it was consistent with the
> existing code (that wasn't changing input/output state on init). However,
> that clearly leads to GPIOs not being able to work for output at least on
some
> of the supported targets so if anything it should have
> 
> Fixes: 2b88563ee5aa ("realtek: update the tree to the latest refactored
> version")

Thanks for the explanation.

In this case, I will simply drop my Fixes: again and use the patch as you
provided it.

Best

Adrian

> 
> --
> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
> mailto:[email protected]
> 
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to