Skip to content
Commit 390ccffe authored by Samuel Holland's avatar Samuel Holland Committed by Tom Rini
Browse files

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: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent c5b68ef8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment