From: Erik Gilling Date: Wed, 10 Nov 2010 23:29:35 +0000 (-0800) Subject: video: tegra: mark a window's handle as unused when it is X-Git-Tag: firefly_0821_release~9833^2~116^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1da2bd65cf1480633b354166df054e9292ed0b08;p=firefly-linux-kernel-4.4.55.git video: tegra: mark a window's handle as unused when it is Change-Id: Iedc9a26f62e14c0263f0f315e589a672762ab31a Signed-off-by: Erik Gilling --- 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; }