mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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: Ajay Agarwal <ajaya@codeaurora.org>
This commit is contained in:
parent
28f1b2a9ba
commit
803754cfbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue