From 1da2bd65cf1480633b354166df054e9292ed0b08 Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Wed, 10 Nov 2010 15:29:35 -0800 Subject: [PATCH] video: tegra: mark a window's handle as unused when it is Change-Id: Iedc9a26f62e14c0263f0f315e589a672762ab31a Signed-off-by: Erik Gilling --- drivers/video/tegra/fb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/tegra/fb.c b/drivers/video/tegra/fb.c index 2a42ae56d71b..ea768e1f42d8 100644 --- a/drivers/video/tegra/fb.c +++ b/drivers/video/tegra/fb.c @@ -348,6 +348,7 @@ static int tegra_fb_set_windowattr(struct tegra_fb_info *tegra_fb, { if (flip_win->handle == NULL) { win->flags = 0; + win->cur_handle = NULL; return 0; } -- 2.34.1