]> 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)
commit46459c61372914ef37b98dcdd537ad8092a4a2cc
tree6cc85f360aae2e8823c6a304dcc24dcef7e74543
parentadc72dfaaa0a6980cf2c25067cb7e25eb8c86923
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