]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: r8a7740: Fix pin bias setup
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 28 Nov 2013 15:20:03 +0000 (16:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Dec 2013 09:38:39 +0000 (10:38 +0100)
commitda2bf84de34090199abc87ac75aa79229e430a68
tree014bdb13f0f3657fbb59c9f985d173a7c8bed3a0
parenta1e6e15f34dd4f33f6001009f7a99d7fe5122bc1
sh-pfc: r8a7740: 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-r8a7740.c