summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2017-01-21 03:26:31 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-01-27 01:18:34 +0100
commit55da97e38cab844682abb71400a908b871d0054c (patch)
tree2803c0d3fa402c7d577d294761a2ba4cd1815511 /virt/kvm
parentMerge branch 'clk-ux500' into clk-next (diff)
downloadlinux-55da97e38cab844682abb71400a908b871d0054c.tar.xz
linux-55da97e38cab844682abb71400a908b871d0054c.zip
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: 0aa0c95f743a ("clk: hisilicon: add common clock support") Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions