mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
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>
This commit is contained in:
parent
af56e0aa35
commit
6bb688c048
1 changed files with 1 additions and 2 deletions
|
@ -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),
|
||||||
|
|
Loading…
Reference in a new issue