aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-omap-dmtimer.c
diff options
context:
space:
mode:
authorSean Young <[email protected]>2023-12-20 14:24:25 +0000
committerThierry Reding <[email protected]>2023-12-20 15:12:32 +0000
commitfcc76072935935082efa127b97c7ddd880d2d793 (patch)
treed067e97a599bc251ccfe1fe0cf5bc22fee8c9921 /drivers/pwm/pwm-omap-dmtimer.c
parentpwm: Make it possible to apply PWM changes in atomic context (diff)
downloadkernel-fcc76072935935082efa127b97c7ddd880d2d793.tar.gz
kernel-fcc76072935935082efa127b97c7ddd880d2d793.zip
pwm: bcm2835: Allow PWM driver to be used in atomic context
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 <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions