diff options
author | Asai Thambi S P <asamymuthupa@micron.com> | 2012-05-29 18:40:45 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-05-31 08:36:55 +0200 |
commit | 6bb688c048c9625030fc911dc93d49bcd15feb1f (patch) | |
tree | 95d3035b1dc9a9a01bd61f10d145dae5c729b54a /drivers | |
parent | af56e0aa35f3ae2a4c1a6d1000702df1dd78cb76 (diff) | |
download | op-kernel-dev-6bb688c048c9625030fc911dc93d49bcd15feb1f.zip op-kernel-dev-6bb688c048c9625030fc911dc93d49bcd15feb1f.tar.gz |
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>
Diffstat (limited to 'drivers')
-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 304000c..0809e25 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) writel(0xFFFFFFFF, port->completed[i]); /* Clear any pending interrupts for this port */ - writel(readl(port->dd->mmio + PORT_IRQ_STAT), - port->dd->mmio + PORT_IRQ_STAT); + writel(readl(port->mmio + PORT_IRQ_STAT), port->mmio + PORT_IRQ_STAT); /* Clear any pending interrupts on the HBA. */ writel(readl(port->dd->mmio + HOST_IRQ_STAT), |