clk: sunxi-ng: Use a separate lock for each CCU instance
authorSamuel Holland <samuel@sholland.org>
Wed, 1 Sep 2021 05:05:21 +0000 (00:05 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 13 Sep 2021 07:03:21 +0000 (09:03 +0200)
commit8f8163215249cf47d754c550c2ac981a564df105
tree7c16cb56c4ad02c32a82c087bb5b1c8a860050e5
parent66028ddb94c1717411eb7f84a9648e1a94d2a947
clk: sunxi-ng: Use a separate lock for each CCU instance

Some platforms have more than one CCU driver loaded: the main CCU, the
PRCM, the display engine, and possibly others. All of these hardware
blocks have separate MMIO spaces, so there is no need to synchronize
between them.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20210901050526.45673-4-samuel@sholland.org
drivers/clk/sunxi-ng/ccu_common.c