Re: [PATCHv3 4/5] i2c: i801: Remove pci_enable_device() call from i801_resume()

2015-02-16 Thread Jean Delvare
On Fri, 13 Feb 2015 15:52:24 +0200, Jarkko Nikula wrote: > Since pci_disable_device() is not called from i801_suspend() and power > state is set already it means that subsequent pci_enable_device() calls do > practically nothing but monotonically increase struct pci_dev enable_cnt. > > Signed-off-

[PATCHv3 4/5] i2c: i801: Remove pci_enable_device() call from i801_resume()

2015-02-13 Thread Jarkko Nikula
Since pci_disable_device() is not called from i801_suspend() and power state is set already it means that subsequent pci_enable_device() calls do practically nothing but monotonically increase struct pci_dev enable_cnt. Signed-off-by: Jarkko Nikula --- drivers/i2c/busses/i2c-i801.c | 2 +- 1 fil