aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorLad Prabhakar <[email protected]>2025-06-16 13:27:50 +0000
committerGeert Uytterhoeven <[email protected]>2025-06-19 17:25:20 +0000
commit52161035571cd62be9865039b4be65615860dce0 (patch)
tree1f3b369ae78c677e2a1a228802aa675ca0ba3c6a /rust/helpers/platform.c
parentpinctrl: renesas: rza2: Use new GPIO line value setter callbacks (diff)
downloadkernel-52161035571cd62be9865039b4be65615860dce0.tar.gz
kernel-52161035571cd62be9865039b4be65615860dce0.zip
pinctrl: renesas: rzg2l: Validate pins before setting mux function
Ensure only valid pins are configured by validating pin mappings before setting the mux function. Rename rzg2l_validate_gpio_pin() to rzg2l_validate_pin() to reflect its broader purpose validating both GPIO pins and muxed pins. This helps avoid invalid configurations. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions