mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-06 03:32:18 +07:00
clk: sunxi-ng: h6: Allow I2S to change parent rate
I2S doesn't work if parent rate couldn't be change. Difference between wanted and actual rate is too big. Fix this by adding CLK_SET_RATE_PARENT flag to I2S clocks. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
parent
0ed4c252bf
commit
65818ad081
@ -505,7 +505,7 @@ static struct ccu_div i2s3_clk = {
|
|||||||
.hw.init = CLK_HW_INIT_PARENTS("i2s3",
|
.hw.init = CLK_HW_INIT_PARENTS("i2s3",
|
||||||
audio_parents,
|
audio_parents,
|
||||||
&ccu_div_ops,
|
&ccu_div_ops,
|
||||||
0),
|
CLK_SET_RATE_PARENT),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -518,7 +518,7 @@ static struct ccu_div i2s0_clk = {
|
|||||||
.hw.init = CLK_HW_INIT_PARENTS("i2s0",
|
.hw.init = CLK_HW_INIT_PARENTS("i2s0",
|
||||||
audio_parents,
|
audio_parents,
|
||||||
&ccu_div_ops,
|
&ccu_div_ops,
|
||||||
0),
|
CLK_SET_RATE_PARENT),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -531,7 +531,7 @@ static struct ccu_div i2s1_clk = {
|
|||||||
.hw.init = CLK_HW_INIT_PARENTS("i2s1",
|
.hw.init = CLK_HW_INIT_PARENTS("i2s1",
|
||||||
audio_parents,
|
audio_parents,
|
||||||
&ccu_div_ops,
|
&ccu_div_ops,
|
||||||
0),
|
CLK_SET_RATE_PARENT),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -544,7 +544,7 @@ static struct ccu_div i2s2_clk = {
|
|||||||
.hw.init = CLK_HW_INIT_PARENTS("i2s2",
|
.hw.init = CLK_HW_INIT_PARENTS("i2s2",
|
||||||
audio_parents,
|
audio_parents,
|
||||||
&ccu_div_ops,
|
&ccu_div_ops,
|
||||||
0),
|
CLK_SET_RATE_PARENT),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user