[PATCH 11/15] gpio: Replace direction_input() and direction_output()

Patrick DELAUNAY patrick.delaunay at foss.st.com
Thu Jan 21 11:12:21 CET 2021


Hi Simon,

On 1/15/21 3:04 PM, Simon Glass wrote:
> The new update_flags() method is more flexible since it allows the
> driver to see the full flags all at once. Use that in preference to these
> two functions. Add comments to that effect.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>   drivers/gpio/gpio-uclass.c | 15 ++++++---------
>   include/asm-generic/gpio.h | 26 +++++++++++++++++++++++++-
>   2 files changed, 31 insertions(+), 10 deletions(-)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks

Patrick




More information about the U-Boot mailing list