diff options
Diffstat (limited to 'drivers/acpi/acpica/hwxfsleep.c')
-rw-r--r-- | drivers/acpi/acpica/hwxfsleep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c index 35eebdac0f9d..111849c2117f 100644 --- a/drivers/acpi/acpica/hwxfsleep.c +++ b/drivers/acpi/acpica/hwxfsleep.c | |||
@@ -314,20 +314,24 @@ acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) | |||
314 | 314 | ||
315 | switch (sleep_state) { | 315 | switch (sleep_state) { |
316 | case ACPI_STATE_S0: | 316 | case ACPI_STATE_S0: |
317 | |||
317 | sst_value = ACPI_SST_WORKING; | 318 | sst_value = ACPI_SST_WORKING; |
318 | break; | 319 | break; |
319 | 320 | ||
320 | case ACPI_STATE_S1: | 321 | case ACPI_STATE_S1: |
321 | case ACPI_STATE_S2: | 322 | case ACPI_STATE_S2: |
322 | case ACPI_STATE_S3: | 323 | case ACPI_STATE_S3: |
324 | |||
323 | sst_value = ACPI_SST_SLEEPING; | 325 | sst_value = ACPI_SST_SLEEPING; |
324 | break; | 326 | break; |
325 | 327 | ||
326 | case ACPI_STATE_S4: | 328 | case ACPI_STATE_S4: |
329 | |||
327 | sst_value = ACPI_SST_SLEEP_CONTEXT; | 330 | sst_value = ACPI_SST_SLEEP_CONTEXT; |
328 | break; | 331 | break; |
329 | 332 | ||
330 | default: | 333 | default: |
334 | |||
331 | sst_value = ACPI_SST_INDICATOR_OFF; /* Default is off */ | 335 | sst_value = ACPI_SST_INDICATOR_OFF; /* Default is off */ |
332 | break; | 336 | break; |
333 | } | 337 | } |