From bc8bcda3391895cdc8e554e2b6f23d6be8965ebf Mon Sep 17 00:00:00 2001 From: Dan Rosenberg Date: Wed, 15 Sep 2010 18:44:22 -0300 Subject: [PATCH] --- yaml --- r: 211347 b: refs/heads/master c: 405707985594169cfd0b1d97d29fcb4b4c6f2ac9 h: refs/heads/master i: 211345: a8166d2040c0f290a4f65207aea13a54beb18a51 211343: dd7934885d8954cab645ece4a96a8c7e82ea3a31 v: v3 --- [refs] | 2 +- trunk/drivers/media/video/ivtv/ivtvfb.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2b08defe92c9..b1ae0f4563ea 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fc00a1d90d7b64e44c2475833cc3021066f67ea7 +refs/heads/master: 405707985594169cfd0b1d97d29fcb4b4c6f2ac9 diff --git a/trunk/drivers/media/video/ivtv/ivtvfb.c b/trunk/drivers/media/video/ivtv/ivtvfb.c index be03a712731c..f0316d02f09f 100644 --- a/trunk/drivers/media/video/ivtv/ivtvfb.c +++ b/trunk/drivers/media/video/ivtv/ivtvfb.c @@ -466,6 +466,8 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar struct fb_vblank vblank; u32 trace; + memset(&vblank, 0, sizeof(struct fb_vblank)); + vblank.flags = FB_VBLANK_HAVE_COUNT |FB_VBLANK_HAVE_VCOUNT | FB_VBLANK_HAVE_VSYNC; trace = read_reg(IVTV_REG_DEC_LINE_FIELD) >> 16;