video: tegra: enable fb window on UNBLANK
Joseph Lehrer [Wed, 30 Nov 2011 22:57:55 +0000 (14:57 -0800)]
bug 867222

Change-Id: Ic4c691ae935c9fdfe110404f8fd268c700e5ce88
Reviewed-on: http://git-master/r/67545
Tested-by: Abhishek Shukla <abhisheks@nvidia.com>
Reviewed-by: Joseph Lehrer <jlehrer@nvidia.com>
Tested-by: Joseph Lehrer <jlehrer@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

drivers/video/tegra/fb.c

index a9910bc..43de292 100644 (file)
@@ -180,6 +180,7 @@ static int tegra_fb_blank(int blank, struct fb_info *info)
        switch (blank) {
        case FB_BLANK_UNBLANK:
                dev_dbg(&tegra_fb->ndev->dev, "unblank\n");
+               tegra_fb->win->flags = TEGRA_WIN_FLAG_ENABLED;
                tegra_dc_enable(tegra_fb->win->dc);
                return 0;