video: s3c-fb: set missing bitmask of enabled hardware window
authorJingoo Han <jg1.han@samsung.com>
Fri, 2 Dec 2011 10:07:17 +0000 (19:07 +0900)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 19 Dec 2011 20:03:30 +0000 (20:03 +0000)
This patch set missing bitmask of enabled hardware window which
should be checked whenever the hardware window is enabled.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3c-fb.c

index e84677e..7a840d5 100644 (file)
@@ -574,6 +574,7 @@ static int s3c_fb_set_par(struct fb_info *info)
        }
 
        data = WINCONx_ENWIN;
+       sfb->enabled |= (1 << win->index);
 
        /* note, since we have to round up the bits-per-pixel, we end up
         * relying on the bitfield information for r/g/b/a to work out