atyfb: fix HP OmniBook 500 reboot hang
authorVille Syrjala <syrjala@sci.fi>
Tue, 30 Jun 2009 18:41:40 +0000 (11:41 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Jul 2009 01:56:01 +0000 (18:56 -0700)
commiteafad22a05fdaca60f06433ffe8810aaa920d539
treedf799e81ce5b2e9d63dbece7d9c2f4beff83e618
parent50efacf6711e6c75595afd9b92aa15c1e4f7c79d
atyfb: fix HP OmniBook 500 reboot hang

Apparently HP OmniBook 500's BIOS doesn't like the way atyfb reprograms
the hardware. The BIOS will simply hang after a reboot. Fix the problem
by restoring the hardware to it's original state on reboot.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Cc: Mikulas Patocka <mpatocka@redhat.com>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/aty/atyfb.h
drivers/video/aty/atyfb_base.c