OSDN Git Service

pinctrl: qcom: Don't clear status bit on irq_unmask
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Mar 2017 15:23:26 +0000 (08:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Mar 2017 07:49:53 +0000 (09:49 +0200)
commit800791e7e0fd9835be2f55c55147c379888b7442
treeedb0f02fd63e9a25c036f7bef5533345673dfecd
parent927d04793f8a587532a5c26057bcdcb33bc8f5ba
pinctrl: qcom: Don't clear status bit on irq_unmask

commit a6566710adaa4a7dd5e0d99820ff9c9c30ee5951 upstream.

Clearing the status bit on irq_unmask will discard any pending interrupt
that did arrive after the irq_ack, i.e. while the IRQ handler function
was executing.

Fixes: f365be092572 ("pinctrl: Add Qualcomm TLMM driver")
Cc: Stephen Boyd <sboyd@codeaurora.org>
Reported-by: Timur Tabi <timur@codeaurora.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/qcom/pinctrl-msm.c