]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: meson: meson8b: remove spinlock
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 25 Sep 2024 15:49:48 +0000 (17:49 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 30 Sep 2024 09:28:01 +0000 (11:28 +0200)
commit1d7ec62374bf049349c47f07f0b95a6524bb1b98
tree80e048e06023548a2d7c7978d068607dacc755a7
parentbbf7e40d570490b7136e6b3fb56befe113cb301f
clk: meson: meson8b: remove spinlock

The spinlock in meson8b clock controller is now only protecting a call to
regmap_update_bits().

The regmap API already has its own locking system so this spinlock
is redundant. Remove it.

Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20240925-clk-meson8b-spinlock-v1-1-50b7f2d02d7d@baylibre.com
[jbrunet: amended to remove unused variable as reported by lkp]
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson8b.c