Skip to content
Commit a87f77a1 authored by Sean Young's avatar Sean Young Committed by Dom Cobley
Browse files

pwm: bcm2835: Allow PWM driver to be used in atomic context



commit fcc76072 upstream.

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: default avatarSean Young <sean@mess.org>
Reviewed-by: default avatarFlorian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 75b91840
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment