Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ecb4131 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: pcie: Use list_empty check "

parents 615a2161 6a1f6c0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5545,7 +5545,7 @@ static void msm_pcie_config_link_pm_rc(struct msm_pcie_dev_t *dev,
{
	bool child_l0s_enable = 0, child_l1_enable = 0, child_l1ss_enable = 0;

	if (!pdev->subordinate || !(&pdev->subordinate->devices)) {
	if (!pdev->subordinate || list_empty(&pdev->subordinate->devices)) {
		PCIE_DBG(dev,
			"PCIe: RC%d: no device connected to root complex\n",
			dev->rc_idx);