diff options
author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-01 23:56:48 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-01 23:56:47 -0700 |
commit | 1886bd0e4babaf4161ec549a7ceb44202c5ab0b8 (patch) | |
tree | 27f4aeac1d55e73c310be45a17e1adb78bfbfb5d /drivers/media | |
parent | f1a10f1598632dc7ab10b369083a21ff68b8398b (diff) | |
parent | 0b181a79bdbc349954b52ddd4b6ab33562e0dcb0 (diff) |
Merge "msm: sde: Avoid use of uninitialized variable"
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/msm/sde/rotator/sde_rotator_r1_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_ctl.c b/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_ctl.c index fef4a8585eaa..74f362839ccc 100644 --- a/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_ctl.c +++ b/drivers/media/platform/msm/sde/rotator/sde_rotator_r1_ctl.c @@ -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 @@ -133,7 +133,7 @@ struct sde_mdp_mixer *sde_mdp_mixer_get(struct sde_mdp_ctl *ctl, int mux) int sde_mdp_get_pipe_flush_bits(struct sde_mdp_pipe *pipe) { - u32 flush_bits; + u32 flush_bits = 0; if (pipe->type == SDE_MDP_PIPE_TYPE_DMA) flush_bits |= BIT(pipe->num) << 5; |