ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so
drop support for it here until we work out a better way of handling it.
This commit is contained in:
parent
81e8cb900e
commit
59eacecf65
@ -57,7 +57,6 @@ Recognized types are
|
||||
.Cm 2 ,
|
||||
.Cm 3 ,
|
||||
.Cm 4 ,
|
||||
.Cm 4b
|
||||
and
|
||||
.Cm 5 .
|
||||
.El
|
||||
|
@ -112,22 +112,6 @@ main(int argc, char *argv[])
|
||||
argv[0], sleep_type);
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* convert sleep type value to ACPICA format */
|
||||
switch (sleep_type) {
|
||||
case 4:
|
||||
if (optarg[1] == 'b') {
|
||||
sleep_type = ACPI_STATE_S4BIOS;
|
||||
}
|
||||
break;
|
||||
|
||||
case 5:
|
||||
sleep_type = ACPI_STATE_S5;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
argc -= optind;
|
||||
|
Loading…
x
Reference in New Issue
Block a user