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)
commite3365d0974ed64157f5b5a576c611057dc40a595
treebafeb57891b2ec400f85e369191086fd89f12a29
parentf17248ed868767567298e1cdf06faf8159a81f7c
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
This page took 0.025573 seconds and 5 git commands to generate.