pwm: bcm2835: Add support for suspend/resume
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Wed, 11 Oct 2023 17:07:17 +0000 (10:07 -0700)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 13 Oct 2023 08:07:18 +0000 (10:07 +0200)
commit119a508c4dc956c859854f40a504c577598b68a8
tree56b9b870dba09bdb313f5966cffcdddfee799afe
parentaacbd65436690244648333cf492f557d162e9f09
pwm: bcm2835: Add support for suspend/resume

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@broadcom.com>
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-bcm2835.c