linux_dsm_epyc7002/drivers/clk/hisilicon
Leo Yan 55da97e38c clk: hisilicon: fix lock assignment
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: 0aa0c95f74 ("clk: hisilicon: add common clock support")
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2017-01-26 16:18:34 -08:00
..
clk-hi3519.c
clk-hi3620.c
clk-hi3660.c clk: hisilicon: Add clock driver for hi3660 SoC 2017-01-09 16:20:38 -08:00
clk-hi6220-stub.c
clk-hi6220.c
clk-hip04.c
clk-hix5hd2.c
clk.c
clk.h
clkdivider-hi6220.c
clkgate-separated.c clk: hisilicon: fix lock assignment 2017-01-26 16:18:34 -08:00
crg-hi3516cv300.c
crg-hi3798cv200.c
crg.h
Kconfig clk: hisilicon: Add clock driver for hi3660 SoC 2017-01-09 16:20:38 -08:00
Makefile clk: hisilicon: Add clock driver for hi3660 SoC 2017-01-09 16:20:38 -08:00
reset.c
reset.h