Home
last modified time | relevance | path

Searched hist:"89132 dd8ffd2218fad3f53a9ca529e609237448a" (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.hdiff 89132dd8ffd2218fad3f53a9ca529e609237448a Sat Sep 08 13:07:37 CEST 2018 Sean Wang <sean.wang@mediatek.com> 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>
H A Dpinctrl-moore.cdiff 89132dd8ffd2218fad3f53a9ca529e609237448a Sat Sep 08 13:07:37 CEST 2018 Sean Wang <sean.wang@mediatek.com> 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>
H A Dpinctrl-mtk-common-v2.cdiff 89132dd8ffd2218fad3f53a9ca529e609237448a Sat Sep 08 13:07:37 CEST 2018 Sean Wang <sean.wang@mediatek.com> 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>