[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200802151832.65606C433CA@smtp.codeaurora.org>
Date: Sun, 2 Aug 2020 15:18:32 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Vaibhav Gupta <vaibhavgupta40@...il.com>
Cc: Bjorn Helgaas <helgaas@...nel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Bjorn Helgaas <bjorn@...gaas.com>,
Vaibhav Gupta <vaibhav.varodek@...il.com>,
"David S. Miller" <davem@...emloft.net>, Jouni Malinen <j@...fi>,
Vaibhav Gupta <vaibhavgupta40@...il.com>,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH v1] hostap: use generic power management
Vaibhav Gupta <vaibhavgupta40@...il.com> 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 dev_pm_ops" variable to take the unnecessary load from the driver.
> This also avoids the need for the driver to directly call most of the PCI
> helper functions and device power state control functions as through
> the generic framework, PCI Core takes care of the necessary operations,
> and drivers are required to do only device-specific jobs.
>
> Signed-off-by: Vaibhav Gupta <vaibhavgupta40@...il.com>
Patch applied to wireless-drivers-next.git, thanks.
99aaa1aafa5c hostap: use generic power management
--
https://patchwork.kernel.org/patch/11675851/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists