diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2006-01-06 00:12:16 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:33:39 -0800 |
commit | 3841b0a173cb6fc52163e67c03280543f2412db3 (patch) | |
tree | 38b55ab607add98d3423e6b6b7ef63c1b8a19b47 /crypto/cast6.c | |
parent | a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a (diff) |
[PATCH] APM Screen Blanking fix
- Fix screen blanking on BIOSes that return APM_NOT_ENGAGED when APM enabled
screen blanking is not turned on.
The original code only tried to set the state on device 0x100, and then
0x1FF, and I added 0x101 to the mix too.
- Clean up logic in apm_console_blank().
- Prevent the error message from printing out twice.
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/cast6.c')
0 files changed, 0 insertions, 0 deletions