diff options
| author | Biju Das <[email protected]> | 2023-08-15 07:34:44 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-08-22 07:07:52 +0000 |
| commit | a160d1286b5907603a5d4329f6047709bc423480 (patch) | |
| tree | cb5548b5b19cf13a51c03151d09d1afa037c87ad /tools/perf/scripts/python/libxed.py | |
| parent | mfd: mxs-lradc: Fix Wvoid-pointer-to-enum-cast warning (diff) | |
| download | kernel-a160d1286b5907603a5d4329f6047709bc423480.tar.gz kernel-a160d1286b5907603a5d4329f6047709bc423480.zip | |
mfd: rz-mtu3: Reduce critical sections
Reduce critical sections on rz_mtu3_start_stop_ch() and
rz_mtu3_is_enabled() by moving offset and bitpos computation
outside the critical section and drop the 'ret' variable on
rz_mtu3_is_enabled() and return 'tstr & BIT(bitpos)' directly.
Reported-by: Pavel Machek <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Biju Das <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
