Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c9e3b2d8 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

pinctrl: sunxi: Fix off-by-one for valid offset range checking



The valid offset range should be 0 ... chip->ngpio - 1.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 07b7eb92
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