diff options
author | Uwe Kleine-König <[email protected]> | 2022-07-21 12:31:25 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2022-07-29 13:40:50 +0200 |
commit | 0f02f491b786143f08eb19840f1cf4f12aec6dee (patch) | |
tree | 07814e78bc55f22be616078902b505c647501b8e /drivers/usb/cdns3/cdns3-trace.c | |
parent | 61180f68ad5b9058008e227d5f289934a963af1f (diff) |
pwm: sifive: Reduce time the controller lock is held
The lock is only to serialize access and update to user_count and
approx_period between different PWMs served by the same pwm_chip.
So the lock needs only to be taken during the check if the (chip global)
period can and/or needs to be changed.
Signed-off-by: Uwe Kleine-König <[email protected]>
Tested-by: Emil Renner Berthing <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions