diff options
author | Sean Young <sean@mess.org> | 2023-12-20 17:24:25 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-12-20 18:12:32 +0300 |
commit | fcc76072935935082efa127b97c7ddd880d2d793 (patch) | |
tree | d067e97a599bc251ccfe1fe0cf5bc22fee8c9921 /drivers/pwm/pwm-omap-dmtimer.c | |
parent | 7170d3beafc2373dd76b6b5d6e617d89e4e42b8b (diff) | |
download | linux-fcc76072935935082efa127b97c7ddd880d2d793.tar.xz |
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 <sean@mess.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-omap-dmtimer.c')
0 files changed, 0 insertions, 0 deletions