]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: mediatek: fix dual-edge code defect
authorhongkun.cao <hongkun.cao@mediatek.com>
Sat, 21 May 2016 07:23:39 +0000 (15:23 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 31 May 2016 08:13:45 +0000 (10:13 +0200)
commit5edf673d07fdcb6498be24914f3f38f8d8843199
treef356b0a77933b24d1a9c37a69bf8e2446c4699b1
parent9feeed94d0a8f2586f15490c8e31e1e0954fc290
pinctrl: mediatek: fix dual-edge code defect

When a dual-edge irq is triggered, an incorrect irq will be reported on
condition that the external signal is not stable and this incorrect irq
has been registered.
Correct the register offset.

Cc: stable@vger.kernel.org
Signed-off-by: Hongkun Cao <hongkun.cao@mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c