Skip to content

Commit 8fd7644

Browse files
authored
Merge pull request hardkernel#54 from yan-wyb/khadas-vims-4.9.y
pcie: pcie compatibility issues [1/1]
2 parents 74dae09 + cef8669 commit 8fd7644

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/amlogic/pci/pcie-amlogic-v2.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,6 @@ static void amlogic_pcie_init_dw(struct amlogic_pcie *amlogic_pcie)
415415
val &= (~APP_LTSSM_ENABLE);
416416
amlogic_cfg_writel(amlogic_pcie, val, PCIE_CFG0);
417417

418-
val = amlogic_elb_readl(amlogic_pcie, PCIE_PORT_LINK_CTRL_OFF);
419-
val |= (1<<7);
420-
amlogic_elb_writel(amlogic_pcie, val, PCIE_PORT_LINK_CTRL_OFF);
421-
422418
val = amlogic_elb_readl(amlogic_pcie, PCIE_PORT_LINK_CTRL_OFF);
423419
val &= (~(0x3f<<16));
424420
amlogic_elb_writel(amlogic_pcie, val, PCIE_PORT_LINK_CTRL_OFF);

0 commit comments

Comments
 (0)