]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Ingenic: Remove unnecessary spinlock when reading registers.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Thu, 28 May 2020 03:15:43 +0000 (11:15 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 28 May 2020 23:13:15 +0000 (16:13 -0700)
commit0225faa64c6348665dfb6848d6b70ff82bd30960
treed55ffb491681920da69b4d039da607973e47e2a4
parent0e6c92ce1d170795a396f8108369eb2c8412797f
clk: Ingenic: Remove unnecessary spinlock when reading registers.

It is not necessary to use spinlock when reading registers,
so remove it from cgu.c.

Suggested-by: Paul Cercueil <paul@crapouillou.net>
Suggested-by: Paul Burton <paulburton@kernel.org>
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Reviewed-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lkml.kernel.org/r/20200528031549.13846-2-zhouyanjie@wanyeetech.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ingenic/cgu.c