pinctrl: mt7622: fix initialization sequence between eint and gpiochip
authorSean Wang <sean.wang@mediatek.com>
Fri, 22 Jun 2018 03:49:05 +0000 (11:49 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 14 Jul 2018 10:47:04 +0000 (12:47 +0200)
commit8875059d2165f22236e87ed10188b0e18f116b93
treee43f73c77ec2f9ab34550e9272b6687e21415da3
parentfafa35cce34ba4c4f6fd7f1026c038de0a2884af
pinctrl: mt7622: fix initialization sequence between eint and gpiochip

Because gpichip applied in the driver must depend on mtk eint to implement
the input data debouncing and the translation between gpio and irq, it's
better to keep logic consistent with mtk eint being built prior to gpiochip
being added.

Cc: stable@vger.kernel.org
Fixes: e6dabd38d8e7 ("pinctrl: mediatek: add EINT support to MT7622 SoC")
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mt7622.c