android_kernel_google_msm/drivers/acpi
Chen Yu 1be2ead7a8 ACPI: Use correct IRQ when uninstalling ACPI interrupt handler
commit 49e4b84333f338d4f183f28f1f3c1131b9fb2b5a upstream.

Currently when the system is trying to uninstall the ACPI interrupt
handler, it uses acpi_gbl_FADT.sci_interrupt as the IRQ number.
However, the IRQ number that the ACPI interrupt handled is installed
for comes from acpi_gsi_to_irq() and that is the number that should
be used for the handler removal.

Fix this problem by using the mapped IRQ returned from acpi_gsi_to_irq()
as appropriate.

Acked-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
[lizf: Backported to 3.4: adjust context]
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-10-26 23:15:26 +08:00
..
acpica ACPICA: Tables: Fix an issue that FACS initialization is performed twice 2015-10-22 09:20:07 +08:00
apei ACPI, APEI: Fixup common access width firmware bug 2012-08-09 08:31:37 -07:00
Kconfig
Makefile
ac.c ACPI/AC: prevent OOPS on some boxes due to missing check power_supply_register() return value check 2012-08-09 08:31:37 -07:00
acpi_ipmi.c ACPI / IPMI: Fix atomic context requirement of ipmi_msg_handler() 2013-10-13 15:42:49 -07:00
acpi_memhotplug.c ACPI / memhotplug: Fix a stale pointer in error path 2013-08-04 16:25:55 +08:00
acpi_pad.c acpi_pad: fix power_saving thread deadlock 2012-07-16 09:04:06 -07:00
battery.c ACPI / battery: Retry to get battery information if failed during probing 2014-07-17 15:39:50 -07:00
bgrt.c
blacklist.c ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX 2014-06-07 16:02:03 -07:00
bus.c ACPI: Fix conflict between customized DSDT and DSDT local copy 2014-06-30 20:01:32 -07:00
button.c
cm_sbs.c
container.c
custom_method.c
debugfs.c
dock.c
ec.c ACPI / EC: Add ASUSTEK L4R to quirk list in order to validate ECDT 2013-09-07 21:58:15 -07:00
ec_sys.c
event.c
fan.c
glue.c
hed.c
internal.h
numa.c
nvs.c
osl.c ACPI: Use correct IRQ when uninstalling ACPI interrupt handler 2016-10-26 23:15:26 +08:00
pci_bind.c
pci_irq.c
pci_link.c
pci_root.c PCI / ACPI: Don't query OSC support with all possible controls 2013-05-07 19:51:54 -07:00
pci_slot.c
power.c ACPI / PM: Use KERN_DEBUG when no power resources are found 2012-10-02 10:29:54 -07:00
proc.c
processor_core.c cpufreq / ACPI: Fix not loading acpi-cpufreq driver regression 2012-07-19 08:58:56 -07:00
processor_driver.c ACPI: missing break 2012-12-10 10:59:40 -08:00
processor_idle.c ACPI / cpuidle: fix deadlock between cpuidle_lock and cpu_hotplug.lock 2014-12-01 18:02:22 +08:00
processor_perflib.c
processor_thermal.c
processor_throttling.c ACPI / processor: Rework processor throttling with work_on_cpu() 2014-03-11 16:10:01 -07:00
reboot.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI : do not use Lid and Sleep button for S5 wakeup 2013-01-17 08:50:53 -08:00
sleep.c ACPI: Add DMI entry for Sony VGN-FW41E_H 2013-03-04 06:06:44 +08:00
sleep.h
sysfs.c ACPI sysfs.c strlen fix 2012-07-16 09:04:07 -07:00
tables.c
thermal.c
utils.c
video.c ACPI / video: Load the module even if ACPI is disabled 2015-06-19 11:40:21 +08:00
video_detect.c ACPI / video: Add "Asus UL30A" to ACPI video detect blacklist 2014-07-09 10:51:21 -07:00
wakeup.c