We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e83546 commit fced904Copy full SHA for fced904
drivers/pci/controller/pcie-apple.c
@@ -619,12 +619,13 @@ static int apple_pcie_setup_link(struct apple_pcie *pcie,
619
int ret;
620
621
/*
622
- * Leave PERST# as is. The Aquantia AQC113 10GB nic used desktop macs is
623
- * sensitive to deasserting it without prior clock setup.
+ * Assert PERST# and configure the pin as output.
+ * The Aquantia AQC113 10GB nic used desktop macs is sensitive to
624
+ * deasserting it without prior clock setup.
625
* Observed on M1 Max/Ultra Mac Studios under m1n1's hypervisor.
626
*/
627
reset = devm_fwnode_gpiod_get(pcie->dev, of_fwnode_handle(np), "reset",
- GPIOD_ASIS, "PERST#");
628
+ GPIOD_OUT_HIGH, "PERST#");
629
if (IS_ERR(reset))
630
return PTR_ERR(reset);
631
0 commit comments