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>
此提交包含在:

提交者
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;
|
||||
|
新增問題並參考
封鎖使用者