commit | 8f53a3386d8dceb4f6c74ab5b299387660dab56b | [log] [tgz] |
---|---|---|
author | Samuel Holland <samuel@sholland.org> | Sat Sep 11 17:05:51 2021 -0500 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 05 08:50:15 2021 -0400 |
tree | 9d9e5ffbda7d377e6ee1d9a8d3a5c75fe2490b78 | |
parent | 5078dc6d59e642463052eff76cf5efd2079977bd [diff] |
gpio: Verify validity of pin offsets when looking up names Translation of a pin name to a device+offset should fail if the 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>