mirror of https://gitee.com/openkylin/linux.git
i2c: ali1535: mention that the device should not be disabled
The comment from the i801 driver is valid here, too, so copy it. Reported-by: Jean Delvare <jdelvare@suse.de> Reviewed-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
parent
763778cd79
commit
9d6336831b
|
@ -508,6 +508,11 @@ static void ali1535_remove(struct pci_dev *dev)
|
|||
{
|
||||
i2c_del_adapter(&ali1535_adapter);
|
||||
release_region(ali1535_smba, ALI1535_SMB_IOSIZE);
|
||||
|
||||
/*
|
||||
* do not call pci_disable_device(dev) since it can cause hard hangs on
|
||||
* some systems during power-off
|
||||
*/
|
||||
}
|
||||
|
||||
static struct pci_driver ali1535_driver = {
|
||||
|
|
Loading…
Reference in New Issue