mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
PCI: rockchip: disable ltssm after link setup
Disable ltssm in case of EP auto relink if EP reboot Change-Id: I08b3dc4426fa3a90bb74b9e3264221fe528f4526 Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
@@ -407,6 +407,11 @@ static int rockchip_pcie_host_init_port(struct rockchip_pcie *rockchip)
|
||||
}
|
||||
}
|
||||
|
||||
/* disable ltssm */
|
||||
if (rockchip->dma_trx_enabled)
|
||||
rockchip_pcie_write(rockchip, PCIE_CLIENT_LINK_TRAIN_DISABLE,
|
||||
PCIE_CLIENT_CONFIG);
|
||||
|
||||
rockchip_pcie_write(rockchip, ROCKCHIP_VENDOR_ID,
|
||||
PCIE_CORE_CONFIG_VENDOR);
|
||||
rockchip_pcie_write(rockchip,
|
||||
|
||||
Reference in New Issue
Block a user