diff options
author | Asai Thambi S P <asamymuthupa@micron.com> | 2012-05-29 21:40:45 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-05-31 02:36:55 -0400 |
commit | 6bb688c048c9625030fc911dc93d49bcd15feb1f (patch) | |
tree | 95d3035b1dc9a9a01bd61f10d145dae5c729b54a | |
parent | af56e0aa35f3ae2a4c1a6d1000702df1dd78cb76 (diff) |
mtip32xx: fix clearing an incorrect register in mtip_init_port
Fix clearing an incorrect register in mtip_init_port
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index 304000c3d433..0809e259b223 100644 --- a/drivers/block/mtip32xx/mtip32xx.c +++ b/drivers/block/mtip32xx/mtip32xx.c | |||
@@ -436,8 +436,7 @@ static void mtip_init_port(struct mtip_port *port) | |||
436 | writel(0xFFFFFFFF, port->completed[i]); | 436 | writel(0xFFFFFFFF, port->completed[i]); |
437 | 437 | ||
438 | /* Clear any pending interrupts for this port */ | 438 | /* Clear any pending interrupts for this port */ |
439 | writel(readl(port->dd->mmio + PORT_IRQ_STAT), | 439 | writel(readl(port->mmio + PORT_IRQ_STAT), port->mmio + PORT_IRQ_STAT); |
440 | port->dd->mmio + PORT_IRQ_STAT); | ||
441 | 440 | ||
442 | /* Clear any pending interrupts on the HBA. */ | 441 | /* Clear any pending interrupts on the HBA. */ |
443 | writel(readl(port->dd->mmio + HOST_IRQ_STAT), | 442 | writel(readl(port->dd->mmio + HOST_IRQ_STAT), |