diff options
author | Claudiu Beznea <[email protected]> | 2023-09-29 08:38:53 +0300 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2023-10-05 13:45:22 +0200 |
commit | 5f710e3bc5987373737470f98798bbd49134a2e0 (patch) | |
tree | 890f46c6e2ca77e1f79dad0b79c84fe90e4977a6 /scripts/generate_rust_analyzer.py | |
parent | a2b23159499efd36b2d63b3c4534075d12ddc97a (diff) |
clk: renesas: rzg2l: Remove critical area
The spinlock in rzg2l_mod_clock_endisable() is intended to protect
RMW-accesses to the hardware register. There is no need to protect
instructions that set temporary variables which will be written
afterwards to a hardware register. With this only one write to one
clock register is executed thus locking/unlocking rmw_lock is removed.
Signed-off-by: Claudiu Beznea <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions