acrn-kernel/drivers/i2c/busses
Daniel Ritz d6fcb3b9cf [PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled
Commit 02dd7ae289 ("[PATCH] i2c-i801:
Merge setup function") has a missing return 0 in the _probe() function.
This means the error path is always executed and pci_disable_device() is
called even when the device just got successfully enabled.

Having the SMBus device disabled makes some systems (eg.
Fujitsu-Siemens Lifebook E8010) hang hard during power-off.

Intead of reverting the whole commit this patch fixes it up:
- don't ever call pci_disable_device(), also not in the _remove() function
  to avoid hangs
- fix missing pci_release_region() in error path

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-27 18:36:39 -07:00
..
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2006-06-22 22:11:30 -07:00
Makefile [PATCH] i2c: New bus driver for the OpenCores I2C controller 2006-06-22 11:10:33 -07:00
i2c-ali15x3.c
i2c-ali1535.c
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c
i2c-au1550.c
i2c-au1550.h
i2c-elektor.c
i2c-hydra.c
i2c-i801.c [PATCH] i2c-i801.c: don't pci_disable_device() after it was just enabled 2006-06-27 18:36:39 -07:00
i2c-i810.c
i2c-ibm_iic.c
i2c-ibm_iic.h
i2c-iop3xx.c
i2c-iop3xx.h
i2c-isa.c
i2c-ite.c
i2c-ixp4xx.c
i2c-ixp2000.c
i2c-mpc.c
i2c-mv64xxx.c
i2c-nforce2.c [PATCH] I2C: i2c-nforce2: Add support for the nForce4 MCP51 and MCP55 2006-06-22 11:10:33 -07:00
i2c-ocores.c [PATCH] i2c-ocores: Minor cleanups 2006-06-22 11:10:34 -07:00
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pca-isa.c
i2c-piix4.c [PATCH] I2C: i2c-piix4: Document the IBM problem more clearly 2006-06-22 11:10:32 -07:00
i2c-powermac.c
i2c-prosavage.c
i2c-pxa.c
i2c-rpx.c
i2c-s3c2410.c
i2c-savage4.c
i2c-sibyte.c
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stub.c
i2c-via.c
i2c-viapro.c
i2c-voodoo3.c
scx200_acb.c [PATCH] scx200_acb: Mark scx200_acb_probe __init 2006-06-22 11:10:35 -07:00
scx200_i2c.c