Skip to content

Commit

Permalink
PCI: qcom: Clean up ASPM comment
Browse files Browse the repository at this point in the history
Break up the newly added ASPM comment so that it fits within the soft 80
character limit and becomes more readable.

Link: https://lore.kernel.org/r/20231128081512.19387-5-johan+linaro@kernel.org
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Johan Hovold authored and Bjorn Helgaas committed Dec 11, 2023
1 parent f352ce9 commit 780f52e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/pci/controller/dwc/pcie-qcom.c
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,10 @@ static int qcom_pcie_post_init_2_7_0(struct qcom_pcie *pcie)

static int qcom_pcie_enable_aspm(struct pci_dev *pdev, void *userdata)
{
/* Downstream devices need to be in D0 state before enabling PCI PM substates */
/*
* Downstream devices need to be in D0 state before enabling PCI PM
* substates.
*/
pci_set_power_state(pdev, PCI_D0);
pci_enable_link_state_locked(pdev, PCIE_LINK_STATE_ALL);

Expand Down

0 comments on commit 780f52e

Please sign in to comment.