Commit 8e1594db7e43eaf4ea88b870e97fa3ab9f8f98e0
Committed by
Linus Walleij
1 parent
99e872d953
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
pinctrl: tegra-xusb: fix an off by one test
This shoudld be ">= ARRAY_SIZE()" instead of "> ARRAY_SIZE()". Fixes: dc0a39386687 ('pinctrl: Add NVIDIA Tegra XUSB pad controller support') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/pinctrl/pinctrl-tegra-xusb.c