android_kernel_google_msm/drivers/misc
Jiri Slaby fb35bbb9a0 MISC: hpilo, remove pci_disable_device
commit bcdee04ea7 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Qiang Huang <h.huangqiang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:06 -07:00
..
altera-stapl
c2port c2port: class_create() returns an ERR_PTR 2012-03-05 15:49:43 -08:00
carma Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2012-03-21 18:55:10 -07:00
cb710
eeprom
ibmasm simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
iwmc3200top
lis3lv02d
sgi-gru Add #includes needed to permit the removal of asm/system.h 2012-03-28 18:30:03 +01:00
sgi-xp SGI-XP: handle non-fatal traps 2013-01-11 09:06:29 -08:00
ti-st
ab8500-pwm.c
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
arm-charlcd.c
atmel-ssc.c
atmel_pwm.c
atmel_tclib.c ARM: at91/tc/clocksource: Add 32 bit variant to Timer Counter 2012-03-01 13:38:49 +01:00
bh1770glc.c
bh1780gli.c
bmp085.c misc: bmp085: Use unsigned long to store jiffies 2012-03-02 16:27:54 -08:00
cs5535-mfgpt.c char and misc driver merge for 3.4-rc1 2012-03-20 11:15:18 -07:00
ds1682.c
enclosure.c SCSI: enclosure: fix WARN_ON in dual path device removing 2013-12-11 22:34:10 -08:00
ep93xx_pwm.c
fsa9480.c misc: fsa9480: Remove obsolete cleanup for clientdata 2012-02-24 14:16:42 -08:00
hmc6352.c
hpilo.c MISC: hpilo, remove pci_disable_device 2014-06-07 16:02:06 -07:00
hpilo.h
ics932s401.c
ioc4.c
isl29003.c
isl29020.c
Kconfig
kgdbts.c x86,kgdb: Fix DEBUG_RODATA limitation using text_poke() 2012-03-29 17:41:25 -05:00
lkdtm.c
Makefile
max8997-muic.c
pch_phub.c
phantom.c
pti.c TTY: remove re-assignments to tty_driver members 2012-03-08 11:37:58 -08:00
spear13xx_pcie_gadget.c
ti_dac7512.c
tifm_7xx1.c
tifm_core.c
tsl2550.c
vmw_balloon.c