diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-07-10 14:34:25 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-07-19 13:22:13 +0200 |
commit | 5a7adc6c1069ce31ef4f606ae9c05592c80a6ab5 (patch) | |
tree | 1e289863ce42a1f8f8af1e6ebdb38728f2f5e73a /scripts | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) | |
download | linux-stable-5a7adc6c1069ce31ef4f606ae9c05592c80a6ab5.tar.gz linux-stable-5a7adc6c1069ce31ef4f606ae9c05592c80a6ab5.tar.bz2 linux-stable-5a7adc6c1069ce31ef4f606ae9c05592c80a6ab5.zip |
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 <andy.shevchenko@gmail.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Tested-by: Daniel Scally <dan.scally@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions