[Linux-kernel-mentees] [PATCH v1] orinoco: use generic power management

Kalle Valo kvalo at codeaurora.org
Wed Jul 15 10:38:43 UTC 2020


Vaibhav Gupta <vaibhavgupta40 at gmail.com> wrote:

> With the support of generic PM callbacks, drivers no longer need to use
> legacy .suspend() and .resume() in which they had to maintain PCI states
> changes and device's power state themselves. The required operations are
> done by PCI core.
> 
> PCI drivers are not expected to invoke PCI helper functions like
> pci_save/restore_state(), pci_enable/disable_device(),
> pci_set_power_state(), etc. Their tasks are completed by PCI core itself.
> 
> Compile-tested only.
> 
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40 at gmail.com>

Patch applied to wireless-drivers-next.git, thanks.

c689a62b6712 orinoco: use generic power management

-- 
https://patchwork.kernel.org/patch/11623867/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the Linux-kernel-mentees mailing list