video: tegra: mark a window's handle as unused when it is

Change-Id: Iedc9a26f62e14c0263f0f315e589a672762ab31a
Signed-off-by: Erik Gilling <konkers@android.com>
This commit is contained in:
Erik Gilling
2010-11-10 15:29:35 -08:00
parent 4834f503c1
commit 1da2bd65cf

View File

@@ -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;
}