video: driver: fix an uninitialized variable

Initialized the variable to avoid setting clock
with some random number

CRs-Fixed: 2836558

Change-Id: Id5673210c9e7431aad35b830c9538f8dae4982fc
Signed-off-by: Swarna Vanka <slatha@codeaurora.org>
此提交包含在:
Swarna Vanka
2021-02-24 16:42:36 -08:00
提交者 Gerrit - the friendly Code Review server
父節點 e6b6c34490
當前提交 ddffda415c

查看文件

@@ -329,7 +329,8 @@ int msm_vidc_set_clocks(struct msm_vidc_inst* inst)
int rc = 0;
struct msm_vidc_core* core;
struct msm_vidc_inst* temp;
u64 freq, rate;
u64 freq;
u64 rate = 0;
u32 data_size;
bool increment, decrement;
u64 curr_time_ns;