mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
drm/mcde: Fix an uninitialized variable
We never set "vblank" to "false".
Current versions of GCC will initialize it to zero automatically at
certain optimization levels so that's probably why this didn't show up
in testing.
Fixes: 5fc537bfd0
("drm/mcde: Add new driver for ST-Ericsson MCDE")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190529113458.GG19119@mwanda
This commit is contained in:
parent
31534fda12
commit
bb5ce9a017
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ enum mcde_dsi_formatter {
|
|||
void mcde_display_irq(struct mcde *mcde)
|
||||
{
|
||||
u32 mispp, misovl, mischnl;
|
||||
bool vblank;
|
||||
bool vblank = false;
|
||||
|
||||
/* Handle display IRQs */
|
||||
mispp = readl(mcde->regs + MCDE_MISPP);
|
||||
|
|
Loading…
Add table
Reference in a new issue