From: Bartosz Golaszewski bartosz.golaszewski@linaro.org
On Tue, 05 Nov 2024 12:45:23 +0530, Sai Kumar Cholleti wrote:
Setting GPIO direction = high, sometimes results in GPIO value = 0.
If a GPIO is pulled high, the following construction results in the value being 0 when the desired value is 1:
$ echo "high" > /sys/class/gpio/gpio336/direction $ cat /sys/class/gpio/gpio336/value 0
[...]
Applied, thanks!
[1/1] gpio: exar: set value when external pull-up or pull-down is present commit: 72cef64180de04a7b055b4773c138d78f4ebdb77
Best regards,