commit | 78acb924dd968b1374dc88d084d682e7fe1100ac | [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 | 8f53a3386d8dceb4f6c74ab5b299387660dab56b [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>