gpio: return from do_gpio()

Simon Glass sjg at chromium.org
Thu Jan 30 03:17:33 CET 2020


Hi Alex,

On Thu, 9 Jan 2020 at 18:30, Alex Nemirovsky
<Alex.Nemirovsky at cortina-access.com> wrote:
>
> Hello Simon,
>
> We would like to get clarification on the expected return of do_gpio()?
> Should it be returning function execution status or the value of the GPIO?

I think it should be the status. See the patch that was recently sent
to fix this.


- Simon


More information about the U-Boot mailing list