Skip to content
Unverified Commit 4ff40d14 authored by Yunhao Tian's avatar Yunhao Tian Committed by Maxime Ripard
Browse files

clk: sunxi-ng: v3s: Fix incorrect number of hw_clks.



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: default avatarYunhao Tian <18373444@buaa.edu.cn>
[Maxime: Also remove the CLK_NUMBER definition]
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent e42617b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment