diff options
| author | Yang Xiwen <[email protected]> | 2025-06-17 01:01:17 +0800 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2025-09-30 20:32:15 +0200 |
| commit | 033dbc7f9ec969168a2f48766cb16aa26fa381d8 (patch) | |
| tree | fea500fb4879d8647b15939aba7f7c8b2659cc6c /scripts/const_structs.checkpatch | |
| parent | 1a367adfd66c28d8d2fdb2957dfba5434b987de1 (diff) | |
pinctrl: meson: support gpio toggle command
meson_gpio_get() always assumes gpio is configured to input mode. This
is incorrect and breaks `gpio toggle` command:
gpio: pin aobus-banks2 (gpio 2) value is 0
Warning: value of pin is still 1
Fix it by adding the logic to handle both input and output mode.
Fixes: 2009a8d03fe5 ("pinctrl: meson: add GPIO support")
Signed-off-by: Yang Xiwen <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
