commit | 37c10bf7ef22ccaa349581984340a616fb1c6ffb | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Sep 11 17:05:52 2021 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 05 08:50:15 2021 -0400 |
tree | 2448cfd8c333c96611d78c5952036dbc3c5d83bc | |
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>