]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb95df4b17b274232145eaa41f689bf0f09106bcd
treee43f73c77ec2f9ab34550e9272b6687e21415da3
parentc855d7fa02f2dc18dda94604c11f86afe05de54a
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: 8b62ec9b60da ("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