]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: sh7372: Fix pin bias setup
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 28 Nov 2013 15:20:04 +0000 (16:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 09:38:41 +0000 (10:38 +0100)
commitb89c374783055cb0263001c78a9816f425d52c50
tree3b67589f46350c8f6484058fcf448c18c304ccc3
parentda2bf84de34090199abc87ac75aa79229e430a68
sh-pfc: sh7372: Fix pin bias setup

When computing the pin configuration register offset the bias setup code
erroneously compares the pin number range with the loop index instead of
the pin number. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/pfc-sh7372.c