Commit 73374454 authored by Samuel Thibault's avatar Samuel Thibault Committed by Linus Torvalds

[PATCH] apm: fix Armada laptops again

Fix the "apm: set display: Interface not engaged" error on Armada laptops
again.

Jordan said:

  I think this is fine.  It seems to me that this may be the fault of one or
  both of the APM solutions handling this situation in a non-standard way, but
  since APM is used very little on the Geode, and I have direct access to our
  BIOS folks, if this problem comes up with a customer again, we'll solve it
  from the firmware.
Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Cc: "Jordan Crouse" <jordan.crouse@amd.com>
Cc: Zachary Amsden <zach@vmware.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b514d8c7
...@@ -1079,7 +1079,7 @@ static int apm_console_blank(int blank) ...@@ -1079,7 +1079,7 @@ static int apm_console_blank(int blank)
break; break;
} }
if (error == APM_NOT_ENGAGED && state != APM_STATE_READY) { if (error == APM_NOT_ENGAGED) {
static int tried; static int tried;
int eng_error; int eng_error;
if (tried++ == 0) { if (tried++ == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment