FB/SM501: ensure console suspended before saving state
authorBen Dooks <ben-linux@fluff.org>
Wed, 6 Feb 2008 09:39:38 +0000 (01:39 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:17 +0000 (10:41 -0800)
commit40488db20e3f43e65f10747f9026fba7d59d29a3
tree58c2258f30223f74230dc3606d9df888a1d42f0d
parentbc9c6a175fa8123587668c38959a105e3ccb6bbd
FB/SM501: ensure console suspended before saving state

Move the console suspend to before we save the state of
the framebuffer to ensure that it does not try and change
the fb state again once we have copied it out.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Vincent Sanders <vince@simtec.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/sm501fb.c