aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/s3c-fb.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2011-12-02 05:07:17 -0500
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-12-19 15:03:30 -0500
commit2d9ae7ac48c91e15e693038bf0dff004f7872aaf (patch)
treea16a0e31db979b8aff07af719bdcb50adbd51a83 /drivers/video/s3c-fb.c
parenta4581b35e1bc80becf240238bc787a5ec2727db0 (diff)
video: s3c-fb: set missing bitmask of enabled hardware window
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>
Diffstat (limited to 'drivers/video/s3c-fb.c')
-rw-r--r--drivers/video/s3c-fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index e84677e6f5ed..7a840d52474d 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -574,6 +574,7 @@ static int s3c_fb_set_par(struct fb_info *info)
574 } 574 }
575 575
576 data = WINCONx_ENWIN; 576 data = WINCONx_ENWIN;
577 sfb->enabled |= (1 << win->index);
577 578
578 /* note, since we have to round up the bits-per-pixel, we end up 579 /* note, since we have to round up the bits-per-pixel, we end up
579 * relying on the bitfield information for r/g/b/a to work out 580 * relying on the bitfield information for r/g/b/a to work out