sm501fb: update suspend and resume code
authorBen Dooks <ben-linux@fluff.org>
Tue, 16 Oct 2007 08:28:37 +0000 (01:28 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:14 +0000 (09:43 -0700)
commitc1f303bb21a63ed11edfb790e5701ab0ded62eff
treeb2f83cce7cb85a52f6bde1f5066e67a93f1d5ffc
parent30dcc9093cc0617a10d84fea13371143f5c84ef0
sm501fb: update suspend and resume code

The suspend and resume code is failing to restore the CRT control
register, thus causing the CRT data-path to get changed if the
SM501 experiences a reset over suspend.

Also move some of the debug messages to dev_dbg() level and ensure
that the suspend code does not try and restore anything it did not
manage to save.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sm501fb.c