PCI: dw: rockchip: Fully reset controller in initial process

Change-Id: Iee871db366695539a92f86da7ea5971780bf52fe
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
Jon Lin 2024-09-05 12:29:31 +08:00 committed by Tao Huang
commit b28ccdbd6d

View file

@ -1313,6 +1313,8 @@ static int rk_pcie_really_probe(void *p)
if (ret)
goto release_driver;
reset_control_assert(rk_pcie->rsts);
udelay(10);
reset_control_deassert(rk_pcie->rsts);
ret = clk_bulk_prepare_enable(rk_pcie->clk_cnt, rk_pcie->clks);