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

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: default avatarSamuel Holland <samuel@sholland.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 390ccffe
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