diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-09-13 18:06:48 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-27 00:20:40 +0400 |
commit | bcdee04ea7ae0406ae69094f6df1aacb66a69a0b (patch) | |
tree | 099204644828227e4bede29f2e9a818c7bac46e6 /drivers/misc/lis3lv02d/lis3lv02d.c | |
parent | 221b7b5796b520b51c34c40239d77921ba39225b (diff) | |
download | linux-bcdee04ea7ae0406ae69094f6df1aacb66a69a0b.tar.xz |
MISC: hpilo, remove pci_disable_device
pci_disable_device(pdev) used to be in pci remove function. But this
PCI device has two functions with interrupt lines connected to a
single pin. The other one is a USB host controller. So when we disable
the PIN there e.g. by rmmod hpilo, the controller stops working. It is
because the interrupt link is disabled in ACPI since it is not
refcounted yet. See acpi_pci_link_free_irq called from
acpi_pci_irq_disable.
It is not the best solution whatsoever, but as a workaround until the
ACPI irq link refcounting is sorted out this should fix the reported
errors.
References: https://lkml.org/lkml/2008/11/4/535
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Nobin Mathew <nobin.mathew@gmail.com>
Cc: Robert Hancock <hancockr@shaw.ca>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: David Altobelli <david.altobelli@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/lis3lv02d/lis3lv02d.c')
0 files changed, 0 insertions, 0 deletions