PCI: rockchip: dw: Set #PERST to low after suspend

As we don't do it in resume routine, so in order to be better
compatibale with devices, set it to low.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I0613e05f6d35ba7def7eedd902cfaff73d716952
This commit is contained in:
Shawn Lin
2022-01-04 09:14:36 +08:00
parent 8a4e79051b
commit 430cf313cf

View File

@@ -1483,6 +1483,7 @@ static int __maybe_unused rockchip_dw_pcie_suspend(struct device *dev)
rk_pcie->in_suspend = true;
gpiod_set_value_cansleep(rk_pcie->rst_gpio, 0);
ret = rk_pcie_disable_power(rk_pcie);
return ret;