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:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user