[PATCH v5 1/3] gpio-uclass.c: save the GPIOD flags also in the gpio descriptor

Simon Glass sjg at chromium.org
Wed May 20 05:06:56 CEST 2020


On Fri, 15 May 2020 at 08:01, Heiko Schocher <hs at denx.de> wrote:
>
> save the GPIOD_ flags also in the gpio descriptor.
>
> Signed-off-by: Heiko Schocher <hs at denx.de>
>
>
> ---
>
> Changes in v5:
> - add comment from patrick, update the descriptor flags
>   in _dm_gpio_set_dir_flags() if setting direction was OK.
>
> Changes in v4:
> - new in version 4
>
> Changes in v3: None
> Changes in v2: None
>
>  drivers/gpio/gpio-uclass.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>

Would be good mention 'why' in patches like this.

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list