Re: [PATCH v1] hostap: use generic power management

2020-08-02 Thread Kalle Valo
Vaibhav Gupta wrote: > Drivers using legacy power management .suspen()/.resume() callbacks > have to manage PCI states and device's PM states themselves. They also > need to take care of standard configuration registers. > > Switch to generic power management framework using a single > "struct

Re: [PATCH v1] hostap: use generic power management

2020-07-21 Thread Vaibhav Gupta
This patch is compile-tested only. --Vaibhav Gupta

[PATCH v1] hostap: use generic power management

2020-07-21 Thread Vaibhav Gupta
Drivers using legacy power management .suspen()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a single "struct dev_pm_ops" variable to take the