]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
s3c-fb: protect window-specific registers during updates
authorPawel Osciak <p.osciak@samsung.com>
Wed, 11 Aug 2010 01:02:41 +0000 (18:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Aug 2010 15:59:12 +0000 (08:59 -0700)
commita8bdabca3ad69de632bd13f1cb65639e9a556e20
treee29b458eeeec1af2d8ed87a601f85626c9165076
parentf676ec2a3526465dfa7b5c513a0c2bb22fb70b80
s3c-fb: protect window-specific registers during updates

Newer hardware (S3C6410, S5P) have the ability to block updates from
shadow registers during reconfiguration.  Add protect calls for set_par
and clear protection when resetting.

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