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

Commit 803754cf authored by Ajay Agarwal's avatar Ajay Agarwal Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3-msm: Initialize ssphy0_sus and ssphy1_sus with false



Initialize ssphy0_sus and ssphy1_sus with false to fix KW
complaint of using uninitialized variables.

Change-Id: Ie7faef2edc88d724fdabc505f5cd66b7886864f9
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 28f1b2a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2716,7 +2716,7 @@ static int dwc3_msm_prepare_suspend(struct dwc3_msm *mdwc, bool ignore_p3_state)
	struct dwc3 *dwc = platform_get_drvdata(mdwc->dwc3);
	unsigned long timeout;
	u32 reg = 0;
	bool ssphy0_sus, ssphy1_sus;
	bool ssphy0_sus = false, ssphy1_sus = false;

	/* Allow SSPHY(s) to go to P3 state if SSPHY autosuspend is disabled */
	if (dwc->dis_u3_susphy_quirk) {