From: Uwe Kleine-König Date: Tue, 27 Jan 2015 23:45:56 +0000 (+0100) Subject: pinctrl: imx25: fix numbering for pins X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~123^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34027ca2bbc6043fea8fc5c4a82670518b6be7df;p=pandora-kernel.git pinctrl: imx25: fix numbering for pins The pin id for a given tuple listed in a fsl,pins property is calculated by dividing the first entry (which is also a register offset) by 4. As the first available register is at offset 0x8 and configures the pad MX25_PAD_A10 the right id for this pin is 2. All other pins are off by one, too. This patch drops the definition MX25_PAD_RESERVE1 (together with its only use) and decrements all following values by 1. Fixes: b4a87c9b966f ("pinctrl: pinctrl-imx: add imx25 pinctrl driver") Signed-off-by: Uwe Kleine-König Tested-by: Fabio Estevam Signed-off-by: Linus Walleij --- Reading git-diff-tree failed