diff options
| author | Sean Wang <sean.wang@mediatek.com> | 2018-09-08 19:07:37 +0800 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2018-09-18 14:53:37 -0700 |
| commit | 89132dd8ffd2218fad3f53a9ca529e609237448a (patch) | |
| tree | 937b21be21bbde3710b3933967a8e5b1cc46121e /scripts | |
| parent | 29686f0151dff68e623475d449f99d8124825b17 (diff) | |
| download | cachepc-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
