55da97e38c
In clock driver initialize phase the spinlock is missed to assignment
to struct clkgate_separated, finally there have no locking to protect
exclusive accessing for clock registers.
This bug introduces the console has no output after enable coresight
driver on 96boards Hikey; this is because console using UART3, which
has shared the same register with coresight clock enabling bit. After
applied this patch it can assign lock properly to protect exclusive
accessing, and console can work well after enabled coresight modules.
Fixes:
|
||
---|---|---|
.. | ||
clk-hi3519.c | ||
clk-hi3620.c | ||
clk-hi3660.c | ||
clk-hi6220-stub.c | ||
clk-hi6220.c | ||
clk-hip04.c | ||
clk-hix5hd2.c | ||
clk.c | ||
clk.h | ||
clkdivider-hi6220.c | ||
clkgate-separated.c | ||
crg-hi3516cv300.c | ||
crg-hi3798cv200.c | ||
crg.h | ||
Kconfig | ||
Makefile | ||
reset.c | ||
reset.h |