mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user