Re: [PATCH v6 3/4] pwm: bcm2835: allow pwm driver to be used in atomic context

From: Florian Fainelli
Date: Wed Nov 29 2023 - 12:48:50 EST


On 11/29/23 01:13, Sean Young wrote:
clk_get_rate() may do a mutex lock. Fetch the clock rate once, and prevent
rate changes using clk_rate_exclusive_get().

Signed-off-by: Sean Young <sean@xxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature