diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-06-24 20:15:39 +0200 |
---|---|---|
committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-07-07 08:39:36 +0200 |
commit | 7c1a529a240b1c84204b9f45cc05f0db0fb17402 (patch) | |
tree | 19194f8560df2a98e5d0a0e2f488b7e4a7a1cf68 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | f0d91b16dcb3d3daa013572caf76720fffcd7bab (diff) |
pwm: fsl-ftm: Drop driver local locking
The pwm core serializes calls to .apply(), so the driver local lock isn't
needed for that. It only has the effect to serialize .apply() with
.request() and .free() for a different PWM, and .request() and .free
against each other. But given that .request and .free() only do a single
regmap operation under the lock and regmap itself serializes register
accesses, it might happen without the lock that the calls are interleaved
now, but affecting different PWMs, so nothing bad can happen.
So the mutex has no effect and can be dropped.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://lore.kernel.org/r/6b72104e5e1823170c7c9664189cc0f2ca5c2347.1750788649.git.u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions