diff options
author | Lv Zheng <lv.zheng@intel.com> | 2015-02-05 02:19:48 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-05 09:31:37 -0500 |
commit | 1c4c81a244a91a8ba37df3de33decca5d95cff0b (patch) | |
tree | e10a014d18c76c8003e65e2e094ade22f5c46510 /drivers/acpi/acpica | |
parent | a45de93eb10ae44446aec2c73d722562ab46092a (diff) |
ACPICA: Events: Back port "ACPICA: Save current masks of enabled GPEs after enable register writes"
This is a back port result of the Linux commit:
Commit c50f13c672df758b59e026c15b9118f3ed46edc4
Subject: ACPICA: Save current masks of enabled GPEs after enable register writes
Besides of the indent divergences, only a missing prototype added due to
the ACPICA internal coding style.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r-- | drivers/acpi/acpica/evgpeutil.c | 4 | ||||
-rw-r--r-- | drivers/acpi/acpica/evxfgpe.c | 1 | ||||
-rw-r--r-- | drivers/acpi/acpica/hwgpe.c | 4 |
3 files changed, 6 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/evgpeutil.c b/drivers/acpi/acpica/evgpeutil.c index 17e4bbfdb096..9e2b94c8f7c4 100644 --- a/drivers/acpi/acpica/evgpeutil.c +++ b/drivers/acpi/acpica/evgpeutil.c | |||
@@ -167,8 +167,8 @@ u8 acpi_ev_valid_gpe_event(struct acpi_gpe_event_info *gpe_event_info) | |||
167 | ******************************************************************************/ | 167 | ******************************************************************************/ |
168 | 168 | ||
169 | acpi_status | 169 | acpi_status |
170 | acpi_ev_get_gpe_device(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | 170 | acpi_ev_get_gpe_device(struct acpi_gpe_xrupt_info * gpe_xrupt_info, |
171 | struct acpi_gpe_block_info *gpe_block, void *context) | 171 | struct acpi_gpe_block_info * gpe_block, void *context) |
172 | { | 172 | { |
173 | struct acpi_gpe_device_info *info = context; | 173 | struct acpi_gpe_device_info *info = context; |
174 | 174 | ||
diff --git a/drivers/acpi/acpica/evxfgpe.c b/drivers/acpi/acpica/evxfgpe.c index e889a5304abd..c637666e7174 100644 --- a/drivers/acpi/acpica/evxfgpe.c +++ b/drivers/acpi/acpica/evxfgpe.c | |||
@@ -604,7 +604,6 @@ ACPI_EXPORT_SYMBOL(acpi_enable_all_runtime_gpes) | |||
604 | * all GPE blocks. | 604 | * all GPE blocks. |
605 | * | 605 | * |
606 | ******************************************************************************/ | 606 | ******************************************************************************/ |
607 | |||
608 | acpi_status acpi_enable_all_wakeup_gpes(void) | 607 | acpi_status acpi_enable_all_wakeup_gpes(void) |
609 | { | 608 | { |
610 | acpi_status status; | 609 | acpi_status status; |
diff --git a/drivers/acpi/acpica/hwgpe.c b/drivers/acpi/acpica/hwgpe.c index 494027f5c067..6a955a939843 100644 --- a/drivers/acpi/acpica/hwgpe.c +++ b/drivers/acpi/acpica/hwgpe.c | |||
@@ -54,6 +54,10 @@ acpi_hw_enable_wakeup_gpe_block(struct acpi_gpe_xrupt_info *gpe_xrupt_info, | |||
54 | struct acpi_gpe_block_info *gpe_block, | 54 | struct acpi_gpe_block_info *gpe_block, |
55 | void *context); | 55 | void *context); |
56 | 56 | ||
57 | static acpi_status | ||
58 | acpi_hw_gpe_enable_write(u8 enable_mask, | ||
59 | struct acpi_gpe_register_info *gpe_register_info); | ||
60 | |||
57 | /****************************************************************************** | 61 | /****************************************************************************** |
58 | * | 62 | * |
59 | * FUNCTION: acpi_hw_get_gpe_register_bit | 63 | * FUNCTION: acpi_hw_get_gpe_register_bit |