Commit 9d633683 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarJean Delvare <jdelvare@suse.de>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent 763778cd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 = {