[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZSf6uxz4CPNtM59z@orome.fritz.box>
Date: Thu, 12 Oct 2023 15:55:07 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Florian Fainelli <florian.fainelli@...adcom.com>
Cc: linux-pwm@...r.kernel.org, Angus Clark <angus.clark@...adcom.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, Ray Jui <rjui@...adcom.com>,
Scott Branden <sbranden@...adcom.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
"moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE"
<linux-rpi-kernel@...ts.infradead.org>,
"moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3] pwm: bcm2835: Add support for suspend/resume
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@...adcom.com>
> Signed-off-by: Florian Fainelli <florian.fainelli@...adcom.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
Powered by blists - more mailing lists