diff options
author | Yunhao Tian <18373444@buaa.edu.cn> | 2019-11-25 20:58:32 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-05 21:22:42 +0000 |
commit | f0a7b02147ad40685298c42444a6c470970ccf95 (patch) | |
tree | bbabd72a4d4af99f5dfb23a530a3db40d548836d /arch/arm64/boot/dts/amlogic | |
parent | 3ea87219a9c7ee9b705dddaad5c8c5e9d6607814 (diff) |
clk: sunxi-ng: v3s: Fix incorrect number of hw_clks.
[ Upstream commit 4ff40d140e2a2060ef6051800a4a9eab07624f42 ]
The hws field of sun8i_v3s_hw_clks has only 74
members. However, the number specified by CLK_NUMBER
is 77 (= CLK_I2S0 + 1). This leads to runtime segmentation
fault that is not always reproducible.
This patch fixes the problem by specifying correct clock number.
Signed-off-by: Yunhao Tian <18373444@buaa.edu.cn>
[Maxime: Also remove the CLK_NUMBER definition]
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic')
0 files changed, 0 insertions, 0 deletions