summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2025-09-25 16:39:18 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2025-09-26 11:56:26 +0200
commitbc061143637532c08d9fc657eec93fdc2588068e (patch)
treef83cdef58a5c01dd8d1daad5c115bedd6dcf51b3 /tools/docs/parse-headers.py
parent2235b26c1b25daf253748acff501af3ea85faaa8 (diff)
gpio: mpfs: fix setting gpio direction to output
mpfs_gpio_direction_output() actually sets the line to input mode. Use the correct register settings for output mode so that this function actually works as intended. This was a copy-paste mistake made when converting to regmap during the driver submission process. It went unnoticed because my test for output mode is toggling LEDs on an Icicle kit which functions with the incorrect code. The internal reporter has yet to test the patch, but on their system the incorrect setting may be the reason for failures to drive the GPIO lines on the BeagleV-fire board. CC: stable@vger.kernel.org Fixes: a987b78f3615e ("gpio: mpfs: add polarfire soc gpio support") Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20250925-boogieman-carrot-82989ff75d10@spud Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions