Commit 94e0104b authored by Ben Hutchings's avatar Ben Hutchings

rapidio/tsi721: Fix interrupt mask when handling MSI

Commit 1619f441 'rapidio/tsi721: fix bug in MSI interrupt
handling' (commit 1ccc819d 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: default avatarSteve Conklin <steve.conklin@canonical.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent a2d09e92
......@@ -555,7 +555,7 @@ static irqreturn_t tsi721_irqhandler(int irq, void *ptr)
/* For MSI mode re-enable device-level interrupts */
if (priv->flags & TSI721_USING_MSI) {
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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment