diff options
| author | Samuel Holland <samuel@sholland.org> | 2021-09-11 17:05:51 -0500 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-10-05 08:50:15 -0400 |
| commit | 390ccffe07c45a3ad584ee6199cc1e63d07981ee (patch) | |
| tree | 9d9e5ffbda7d377e6ee1d9a8d3a5c75fe2490b78 /include/ec_commands.h | |
| parent | c5b68ef8af3c2f515c1f5b8d63a69359a85d753b (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>
Diffstat (limited to 'include/ec_commands.h')
0 files changed, 0 insertions, 0 deletions
