diff options
author | Lad Prabhakar <[email protected]> | 2023-09-25 16:45:48 +0100 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-10-13 09:38:04 +0200 |
commit | c944d9dea75e453d18bc8c100022e990c2eac3cb (patch) | |
tree | 3e0d2bba89e92f90f39002e2192e0ba7a0ea4d57 /scripts/generate_rust_analyzer.py | |
parent | 84ba5131693335f4ffa277227157a31e98168425 (diff) |
pinctrl: renesas: rzg2l: Add validation of GPIO pin in rzg2l_gpio_request()
Validate the GPIO pin request in the rzg2l_gpio_request() callback using
the rzg2l_validate_gpio_pin() function. This stops any accidental usage
of GPIO pins which are not supported by the SoC.
Signed-off-by: Lad Prabhakar <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Tested-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions