[PATCH v3] pwm: bcm2835: Add support for suspend/resume
Thierry Reding
thierry.reding at gmail.com
Thu Oct 12 06:55:07 PDT 2023
On Wed, Oct 11, 2023 at 10:07:17AM -0700, Florian Fainelli wrote:
> Similar to other drivers, we need to make sure that the clock is
> disabled during suspend and re-enabled during resume.
>
> Reported-by: Angus Clark <angus.clark at broadcom.com>
> Signed-off-by: Florian Fainelli <florian.fainelli at broadcom.com>
> ---
> Changes in v3:
>
> - removed __maybe_unused and use pm_ptr()
>
> Changes in v2:
>
> - use DEFINE_SIMPLE_DEV_PM_OPS as suggested by Uwe
>
> drivers/pwm/pwm-bcm2835.c | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
Applied, thanks.
Thierry
More information about the linux-arm-kernel
mailing list