diff options
author | 2022-07-21 12:31:25 +0200 | |
---|---|---|
committer | 2022-07-29 13:40:50 +0200 | |
commit | 0f02f491b786143f08eb19840f1cf4f12aec6dee (patch) | |
tree | 07814e78bc55f22be616078902b505c647501b8e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: sifive: Fold pwm_sifive_enable() into its only caller (diff) | |
download | linux-dev-0f02f491b786143f08eb19840f1cf4f12aec6dee.tar.xz linux-dev-0f02f491b786143f08eb19840f1cf4f12aec6dee.zip |
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 <u.kleine-koenig@pengutronix.de>
Tested-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions