File tree Expand file tree Collapse file tree 4 files changed +1
-31
lines changed Expand file tree Collapse file tree 4 files changed +1
-31
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ static acpi_status acpi_ev_fixed_event_initialize(void)
142
142
status =
143
143
acpi_write_bit_register (acpi_gbl_fixed_event_info
144
144
[i ].enable_register_id ,
145
- (i ==
146
- ACPI_EVENT_PCIE_WAKE ) ?
147
- ACPI_ENABLE_EVENT :
148
145
ACPI_DISABLE_EVENT );
149
146
if (ACPI_FAILURE (status )) {
150
147
return (status );
@@ -188,11 +185,6 @@ u32 acpi_ev_fixed_event_detect(void)
188
185
return (int_status );
189
186
}
190
187
191
- if (fixed_enable & ACPI_BITMASK_PCIEXP_WAKE_DISABLE )
192
- fixed_enable &= ~ACPI_BITMASK_PCIEXP_WAKE_DISABLE ;
193
- else
194
- fixed_enable |= ACPI_BITMASK_PCIEXP_WAKE_DISABLE ;
195
-
196
188
ACPI_DEBUG_PRINT ((ACPI_DB_INTERRUPTS ,
197
189
"Fixed Event Block: Enable %08X Status %08X\n" ,
198
190
fixed_enable , fixed_status ));
@@ -258,9 +250,6 @@ static u32 acpi_ev_fixed_event_dispatch(u32 event)
258
250
if (!acpi_gbl_fixed_event_handlers [event ].handler ) {
259
251
(void )acpi_write_bit_register (acpi_gbl_fixed_event_info [event ].
260
252
enable_register_id ,
261
- (event ==
262
- ACPI_EVENT_PCIE_WAKE ) ?
263
- ACPI_ENABLE_EVENT :
264
253
ACPI_DISABLE_EVENT );
265
254
266
255
ACPI_ERROR ((AE_INFO ,
Original file line number Diff line number Diff line change @@ -311,20 +311,6 @@ acpi_status acpi_hw_legacy_wake(u8 sleep_state)
311
311
[ACPI_EVENT_SLEEP_BUTTON ].
312
312
status_register_id , ACPI_CLEAR_STATUS );
313
313
314
- /* Enable pcie wake event if support */
315
- if ((acpi_gbl_FADT .flags & ACPI_FADT_PCI_EXPRESS_WAKE )) {
316
- (void )
317
- acpi_write_bit_register (acpi_gbl_fixed_event_info
318
- [ACPI_EVENT_PCIE_WAKE ].
319
- enable_register_id ,
320
- ACPI_DISABLE_EVENT );
321
- (void )
322
- acpi_write_bit_register (acpi_gbl_fixed_event_info
323
- [ACPI_EVENT_PCIE_WAKE ].
324
- status_register_id ,
325
- ACPI_CLEAR_STATUS );
326
- }
327
-
328
314
acpi_hw_execute_sleep_method (METHOD_PATHNAME__SST , ACPI_SST_WORKING );
329
315
return_ACPI_STATUS (status );
330
316
}
Original file line number Diff line number Diff line change @@ -186,10 +186,6 @@ struct acpi_fixed_event_info acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS] =
186
186
ACPI_BITREG_RT_CLOCK_ENABLE ,
187
187
ACPI_BITMASK_RT_CLOCK_STATUS ,
188
188
ACPI_BITMASK_RT_CLOCK_ENABLE },
189
- /* ACPI_EVENT_PCIE_WAKE */ {ACPI_BITREG_PCIEXP_WAKE_STATUS ,
190
- ACPI_BITREG_PCIEXP_WAKE_DISABLE ,
191
- ACPI_BITMASK_PCIEXP_WAKE_STATUS ,
192
- ACPI_BITMASK_PCIEXP_WAKE_DISABLE },
193
189
};
194
190
#endif /* !ACPI_REDUCED_HARDWARE */
195
191
Original file line number Diff line number Diff line change @@ -723,8 +723,7 @@ typedef u32 acpi_event_type;
723
723
#define ACPI_EVENT_POWER_BUTTON 2
724
724
#define ACPI_EVENT_SLEEP_BUTTON 3
725
725
#define ACPI_EVENT_RTC 4
726
- #define ACPI_EVENT_PCIE_WAKE 5
727
- #define ACPI_EVENT_MAX 5
726
+ #define ACPI_EVENT_MAX 4
728
727
#define ACPI_NUM_FIXED_EVENTS ACPI_EVENT_MAX + 1
729
728
730
729
/*
You can’t perform that action at this time.
0 commit comments