Merge "msm: sde: Fix variable initialization in SDE rotator"

This commit is contained in:
Linux Build Service Account 2017-01-13 17:02:55 -08:00 committed by Gerrit - the friendly Code Review server
commit 14b01d57a4

View file

@ -1,4 +1,4 @@
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -317,7 +317,7 @@ static int sde_mdp_wb_wait4comp(struct sde_mdp_ctl *ctl, void *arg)
struct sde_mdp_writeback_ctx *ctx;
int rc = 0;
u64 rot_time = 0;
u32 status, mask, isr;
u32 status, mask, isr = 0;
ctx = (struct sde_mdp_writeback_ctx *) ctl->priv_data;
if (!ctx) {