From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 04 Jan 2024 10:08:02 +0000 Subject: [PATCH] disable FB --- kernel/drivers/media/platform/omap/omap_voutlib.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/kernel/drivers/media/platform/omap/omap_voutlib.c b/kernel/drivers/media/platform/omap/omap_voutlib.c index 58a25fd..480a7e9 100644 --- a/kernel/drivers/media/platform/omap/omap_voutlib.c +++ b/kernel/drivers/media/platform/omap/omap_voutlib.c @@ -95,7 +95,11 @@ /* 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); -- Gitblit v1.6.2