Skip to content

Commit

Permalink
Update pci-mt7621.c
Browse files Browse the repository at this point in the history
  • Loading branch information
MeIsReallyBa committed Apr 30, 2023
1 parent 2a72c4e commit 0be40cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trunk/linux-4.4.x/arch/mips/pci/pci-mt7621.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static void mt7621_pcie_init(struct mt7621_pci_controller *mpc)
for (i = 0; i < 3; i++) {
/* PCIe RC reset assert */
mt7621_pci_reset_assert(mpc, i);

msleep(100);
/* PCIe EP reset assert */
if (gpio_is_valid(mpc->reset_gpio[i]))
gpio_set_value(mpc->reset_gpio[i], 0);
Expand All @@ -519,7 +519,7 @@ static void mt7621_pcie_init(struct mt7621_pci_controller *mpc)
mt7621_pci_bypass_pipe_rst(mpc);

mt7621_pci_phy_ssc_config(mpc);

msleep(100);
/* PCIe EP reset deassert */
for (i = 0; i < 3; i++) {
if (gpio_is_valid(mpc->reset_gpio[i]))
Expand Down

0 comments on commit 0be40cd

Please sign in to comment.