summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-09-08 19:07:37 +0800
committerLinus Walleij <linus.walleij@linaro.org>2018-09-18 14:53:37 -0700
commit89132dd8ffd2218fad3f53a9ca529e609237448a (patch)
tree937b21be21bbde3710b3933967a8e5b1cc46121e /scripts
parent29686f0151dff68e623475d449f99d8124825b17 (diff)
downloadcachepc-linux-89132dd8ffd2218fad3f53a9ca529e609237448a.tar.gz
cachepc-linux-89132dd8ffd2218fad3f53a9ca529e609237448a.zip
pinctrl: mediatek: extend eint build to pinctrl-mtk-common-v2.c
Almost all MediaTek SoCs apply the exact same logic to build eint, so move the common functions into pinctrl-mtk-common-v2.c to allow each new pinctrl driver to reuse them. Also, add a protection checker on hw->soc->eint_hw to avoid invalid memory access when there's certain SoC not to define its eint_hw properly in the code flow. Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions