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

2021-01-21 Thread Patrick DELAUNAY
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 --- drivers/gpio/gpio-uclass.c

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

2021-01-15 Thread Simon Glass
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 --- drivers/gpio/gpio-uclass.c | 15 ++- include/asm-generic/gpio.h | 2