Commit 6bb688c0 authored by Asai Thambi S P's avatar Asai Thambi S P Committed by Jens Axboe

mtip32xx: fix clearing an incorrect register in mtip_init_port

Fix clearing an incorrect register in mtip_init_port
Signed-off-by: default avatarAsai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent af56e0aa
...@@ -436,8 +436,7 @@ static void mtip_init_port(struct mtip_port *port) ...@@ -436,8 +436,7 @@ static void mtip_init_port(struct mtip_port *port)
writel(0xFFFFFFFF, port->completed[i]); writel(0xFFFFFFFF, port->completed[i]);
/* Clear any pending interrupts for this port */ /* Clear any pending interrupts for this port */
writel(readl(port->dd->mmio + PORT_IRQ_STAT), writel(readl(port->mmio + PORT_IRQ_STAT), port->mmio + PORT_IRQ_STAT);
port->dd->mmio + PORT_IRQ_STAT);
/* Clear any pending interrupts on the HBA. */ /* Clear any pending interrupts on the HBA. */
writel(readl(port->dd->mmio + HOST_IRQ_STAT), writel(readl(port->dd->mmio + HOST_IRQ_STAT),
......
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