diff options
author | Hans de Goede <[email protected]> | 2023-07-10 14:34:25 +0200 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2023-07-19 13:22:13 +0200 |
commit | 5a7adc6c1069ce31ef4f606ae9c05592c80a6ab5 (patch) | |
tree | 1e289863ce42a1f8f8af1e6ebdb38728f2f5e73a /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
gpio: tps68470: Make tps68470_gpio_output() always set the initial value
Make tps68470_gpio_output() call tps68470_gpio_set() for output-only pins
too, so that the initial value passed to gpiod_direction_output() is
honored for these pins too.
Fixes: 275b13a65547 ("gpio: Add support for TPS68470 GPIOs")
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Daniel Scally <[email protected]>
Tested-by: Daniel Scally <[email protected]>
Reviewed-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions