mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
rapidio/tsi721: Fix interrupt mask when handling MSI
commit 94e0104bca7d6927e85119030b8e6e31fde88a7a upstream.
Commit 1619f441963e 'rapidio/tsi721: fix bug in MSI interrupt
handling' (commit 1ccc819da6
upstream) makes the MSI handler disable
and re-enable interrupts. When re-enabling interrupts, we should set
the same flags as were originally set, but this changed in Linux 3.5 so
the flags are now inconsistent in 3.2. In fact, the extra flag isn't
even defined in 3.2. Remove the extra flag from the MSI handler.
Reported-by: Steve Conklin <steve.conklin@canonical.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Qiang Huang <h.huangqiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
13bbf8c9ea
commit
06b08fa448
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ static irqreturn_t tsi721_irqhandler(int irq, void *ptr)
|
||||||
/* For MSI mode re-enable device-level interrupts */
|
/* For MSI mode re-enable device-level interrupts */
|
||||||
if (priv->flags & TSI721_USING_MSI) {
|
if (priv->flags & TSI721_USING_MSI) {
|
||||||
dev_int = TSI721_DEV_INT_SR2PC_CH | TSI721_DEV_INT_SRIO |
|
dev_int = TSI721_DEV_INT_SR2PC_CH | TSI721_DEV_INT_SRIO |
|
||||||
TSI721_DEV_INT_SMSG_CH | TSI721_DEV_INT_BDMA_CH;
|
TSI721_DEV_INT_SMSG_CH;
|
||||||
iowrite32(dev_int, priv->regs + TSI721_DEV_INTE);
|
iowrite32(dev_int, priv->regs + TSI721_DEV_INTE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue