drivers: gpio: esp32: fix error when using input only pins
Input pins in ESP32 (34 to 39) have no pull-up / pull-down internally.
Current behavior is that gpio driver fails when "disabling it", which
should not happen. It need to fail only when enabling this feature.
Fixes #50615
Signed-off-by:
Sylvio Alves <sylvio.alves@espressif.com>
Loading
Please sign in to comment