diff options
author | Chen Yu <yu.c.chen@intel.com> | 2015-10-24 20:02:19 +0300 |
---|---|---|
committer | Zefan Li <lizefan@huawei.com> | 2016-10-26 18:15:26 +0300 |
commit | 1be2ead7a8f779f2595afaa5523e7f83cd0dcf2b (patch) | |
tree | c6bf0497e9819a794611333d238f48c46f861f14 /sound/pci | |
parent | ff0dd8f8f68435374713feecdf74736953fd5196 (diff) | |
download | linux-1be2ead7a8f779f2595afaa5523e7f83cd0dcf2b.tar.xz |
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>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions