Re: [PATCH v2 10/15] scsi: pm_8001: use generic power management

2020-09-08 Thread Vaibhav Gupta
On Mon, Jul 20, 2020 at 07:04:23PM +0530, Vaibhav Gupta wrote: > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers sho

Re: [PATCH v2 10/15] scsi: pm_8001: use generic power management

2020-07-23 Thread Jinpu Wang
On Mon, Jul 20, 2020 at 3:38 PM Vaibhav Gupta wrote: > > With legacy PM, drivers themselves were responsible for managing the > device's power states and takes care of register states. > > After upgrading to the generic structure, PCI core will take care of > required tasks and drivers should do o

[PATCH v2 10/15] scsi: pm_8001: use generic power management

2020-07-20 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. The driver was calling pci_save/