msm: cvp: Avoid referencing uninitialized variable

Initialize a local variable before referening it.

Change-Id: I469eb892b418fb1906ebf4c093ac28d249412cdd
Signed-off-by: George Shen <sqiao@codeaurora.org>
This commit is contained in:
George Shen 2020-09-23 14:16:24 -07:00
commit 9fcafd916f

View file

@ -646,7 +646,7 @@ void cvp_dsp_send_hfi_queue(void)
struct msm_cvp_core *core;
struct iris_hfi_device *device;
struct cvp_dsp_apps *me = &gfa_cv;
struct cvp_dsp_rsp_msg rsp;
struct cvp_dsp_rsp_msg rsp = {0};
uint64_t addr;
uint32_t size;
int rc;