s3c-fb: correct window osd size and alpha register handling
authorPawel Osciak <p.osciak@samsung.com>
Wed, 11 Aug 2010 01:02:40 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:11 +0000 (08:59 -0700)
commitf676ec2a3526465dfa7b5c513a0c2bb22fb70b80
treeab844e8c4136487f4daf0da6d9687103845fc62a
parentf5ec546f1f5e21bfc84ce7a1ac7408702082c65a
s3c-fb: correct window osd size and alpha register handling

S3C64xx and S5P OSD registers for OSD size and alpha are as follows:
VIDOSDC: win 0 - size, win 1-4: alpha
VIDOSDD: win 1-2 - size; not present for windows 0, 3 and 4

Signed-off-by: Pawel Osciak <p.osciak@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: InKi Dae <inki.dae@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/s3c-fb.c