diff options
author | Samuel Holland | 2021-09-11 17:05:52 -0500 |
---|---|---|
committer | Tom Rini | 2021-10-05 08:50:15 -0400 |
commit | 37c10bf7ef22ccaa349581984340a616fb1c6ffb (patch) | |
tree | 2448cfd8c333c96611d78c5952036dbc3c5d83bc /include/asm-generic | |
parent | 390ccffe07c45a3ad584ee6199cc1e63d07981ee (diff) |
gpio: Verify validity of pin offsets from device trees
Translation of an OF GPIO specifier should fail if the pin offset is
larger than the number of pins in the GPIO bank.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions