]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: pinctrl-imx: fix incorrect debug message of maps
authorDong Aisheng <dong.aisheng@linaro.org>
Fri, 8 Jun 2012 13:33:12 +0000 (21:33 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jun 2012 11:35:33 +0000 (13:35 +0200)
commit26dce7882b42acca05d65ac9de2a34ef6ab372b3
treeda787368d22da8400bf1ff5579fdaf581b7794d8
parent739b58d5cd2bbf8f8ae31429a1e1844552e01122
pinctrl: pinctrl-imx: fix incorrect debug message of maps

After create config map, the new_map pointer becomes point to
PIN_MAP_TYPE_CONFIGS_PIN map rather than PIN_MAP_TYPE_MUX_GROUP map any more.
Thus using new_map pointer to display the MUX_GROUP info is not correct.
Using map pointer instead to show the correct MUX_GROUP map info.
Original the debug message is:
imx6q-pinctrl 20e0000.iomuxc: maps: function Yp group MX6Q_PAD_SD3_CMD num 12
After fix it is:
imx6q-pinctrl 20e0000.iomuxc: maps: function usdhc3 group usdhc3grp-1 num 11

Reported-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Dong Aisheng <dong.aisheng@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-imx.c