aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap/omap_voutlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/omap/omap_voutlib.c')
-rw-r--r--drivers/media/platform/omap/omap_voutlib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/platform/omap/omap_voutlib.c b/drivers/media/platform/omap/omap_voutlib.c
index 58a25fdf0cce..480a7e95533d 100644
--- a/drivers/media/platform/omap/omap_voutlib.c
+++ b/drivers/media/platform/omap/omap_voutlib.c
@@ -95,7 +95,11 @@ int omap_vout_try_window(struct v4l2_framebuffer *fbuf,
/* We now have a valid preview window, so go with it */
new_win->w = try_win;
- new_win->field = V4L2_FIELD_ANY;
+ new_win->field = V4L2_FIELD_NONE;
+ new_win->clips = NULL;
+ new_win->clipcount = 0;
+ new_win->bitmap = NULL;
+
return 0;
}
EXPORT_SYMBOL_GPL(omap_vout_try_window);