]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: imx27: fix offset calculation in imx_read_2bit
authorChris Ruehl <chris.ruehl@gtsys.com.hk>
Wed, 22 Jan 2014 03:14:52 +0000 (11:14 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Feb 2014 08:08:09 +0000 (09:08 +0100)
commit91edb2185892d5a56d54ddc5213f302b8df09e6f
treebafeb57891b2ec400f85e369191086fd89f12a29
parent2bdf3bf238bc54b2803b20619a86aea25f2af44d
pinctrl: imx27: fix offset calculation in imx_read_2bit

The offset for the 2bit register calculate wrong, this patch
fixes the problem. The debugfs printout for oconf, iconfa, iconfb
now shows the real values.

Cc: stable@vger.kernel.org
Signed-off-by: Chris Ruehl <chris.ruehl@gtsys.com.hk>
Reviewed-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx1-core.c