Skip to content

Commit

Permalink
video: s3c-fb: set missing bitmask of enabled hardware window
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and Florian Tobias Schandinat committed Dec 19, 2011
1 parent a4581b3 commit 2d9ae7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/s3c-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d9ae7a

Please sign in to comment.