summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mediatek
diff options
context:
space:
mode:
authorA.s. Dong <aisheng.dong@nxp.com>2018-11-12 16:25:48 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-11-19 14:51:42 +0100
commit571610678bf344006ab4c47c6fd0a842e9ac6a1b (patch)
tree1119d8c6a9c9a1656e3b63c977f073b39c30b5b0 /drivers/pinctrl/mediatek
parentpinctrl: actions: Add Actions Semi S700 pinctrl driver (diff)
downloadlinux-571610678bf344006ab4c47c6fd0a842e9ac6a1b.tar.xz
linux-571610678bf344006ab4c47c6fd0a842e9ac6a1b.zip
pinctrl: imx: fix NO_PAD_CTL setting for MMIO pads
After patch b96eea718bf6 ("pinctrl: fsl: add scu based pinctrl support"), NO_PAD_CTL pads map are not skipped anymore which results in a possible memory corruption. As we actually only need to create config maps for SCU pads and MMIO pads which are not using the default config (a.k.a IMX_NO_PAD_CTL), so let's add a proper check before creating the config maps. And during MMIO pads parsing, we also need update the list_p point as SCU case to ensure the pin data next parsed is correct. Cc: Linus Walleij <linus.walleij@linaro.org> Fixes: b96eea718bf6 ("pinctrl: fsl: add scu based pinctrl support") Reported-by: Martin Kaiser <martin@kaiser.cx> Suggested-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Reviewed-by: Martin Kaiser <martin@kaiser.cx> Tested-by: Leonard Crestez <leonard.crestez@nxp.com> Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mediatek')
0 files changed, 0 insertions, 0 deletions