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

Commit efc495f4 authored by Yue Ma's avatar Yue Ma
Browse files

cnss2: Assert when power on retry reaches maximum



In order to catch the issue immediately, assert when power on retry
for PCIe resume reaches maximum.

Change-Id: Ie370e031e68721b531aae909f56bc45b9d9b59d8
Signed-off-by: default avatarYue Ma <yuem@codeaurora.org>
parent 8db1b68a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1966,6 +1966,8 @@ static int cnss_qca6290_powerup(struct cnss_pci_data *pci_priv)
			msleep(POWER_ON_RETRY_DELAY_MS * retry);
			goto retry;
		}
		/* Assert when it reaches maximum retries */
		CNSS_ASSERT(0);
		goto power_off;
	}