From: Jingoo Han Date: Fri, 2 Dec 2011 10:07:17 +0000 (+0900) Subject: video: s3c-fb: set missing bitmask of enabled hardware window X-Git-Tag: next-20111220~41^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2d9ae7ac48c91e15e693038bf0dff004f7872aaf;p=karo-tx-linux.git 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 Signed-off-by: Florian Tobias Schandinat --- 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) } 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