PCIe: dw: rockchip: Init msi again when calling resume

If the controller is powered down and lost its settings of
MSI, host driver should take response of recovering all the
settings.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I9f1fd9078e500388f8d9753cc5ab7882b404d142
This commit is contained in:
Shawn Lin
2023-04-12 09:58:27 +08:00
committed by Tao Huang
parent ab82b0b063
commit ee909ff436

View File

@ -1927,6 +1927,9 @@ std_rc_done:
goto err;
}
if (rk_pcie->pci->pp.msi_irq > 0)
dw_pcie_msi_init(&rk_pcie->pci->pp);
return 0;
err:
rk_pcie_disable_power(rk_pcie);