]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3aca15ceea383e65c8110e11c68757ec276b71c2
treeb2f83cce7cb85a52f6bde1f5066e67a93f1d5ffc
parent32dd5e29f11d18166eeb3936692b6791e9fa33cd
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