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

Skip to content
Commit 7b9f5aa1 authored by Rohith Kollalsi's avatar Rohith Kollalsi
Browse files

usb: dwc3: Initialize val,val1 with 0 as they can be used uninitialized



If in the function dwc3_msm_power_collapse_por, dwc3 is not on
DWC_usb31 core and dwc3_msm doesn't have dual port then val1
can be used uninitialized. To prevent such scenario initialize
val1 and val with zero.

Change-Id: I359c596d3dace6c00475eb22fb64a37631f240b1
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent 8ba92afc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment