mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
PCIe: dw: rockchip: Init and free msi whenever needed
Change-Id: Ic7bc74c1a05b06c45f83bdb7056a8c4b206dd4dd
[Shawn: squash commit fa7b48efe743 ("PCIe: dw: rockchip: Do not free msi in PM ops")]
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
@@ -1110,6 +1110,9 @@ static int rk_pcie_host_init(struct pcie_port *pp)
|
||||
|
||||
ret = rk_pcie_establish_link(pci);
|
||||
|
||||
if (pp->msi_irq > 0)
|
||||
dw_pcie_msi_init(pp);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user