]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: msm: Correct interrupt code for TLMM v2
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Mon, 31 Mar 2014 21:49:54 +0000 (14:49 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Apr 2014 07:39:33 +0000 (09:39 +0200)
commit864646dc72f025ad03d0fd732400a2900b0c9238
tree6cc85f360aae2e8823c6a304dcc24dcef7e74543
parente1e369b487787b05cf764b5e92f9a1cdf96539a6
pinctrl: msm: Correct interrupt code for TLMM v2

Acking interrupts are done differently between on v2 and v3, so add an extra
attribute to the pingroup struct to let the platform definitions control this.
Also make sure to start dual edge detection by detecting the rising edge.

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-msm.c
drivers/pinctrl/pinctrl-msm.h