mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 22:02:27 +02:00
jz4740: clock.c: Add missing enable/disable callbacks for i2s clock.
This commit is contained in:
parent
8932999d6e
commit
6e9f8f83c3
@ -524,9 +524,11 @@ static struct divided_clk jz_clk_i2s = {
|
|||||||
.name = "i2s",
|
.name = "i2s",
|
||||||
.parent = &jz_clk_ext.clk,
|
.parent = &jz_clk_ext.clk,
|
||||||
.gate_bit = JZ_CLOCK_GATE_AIC,
|
.gate_bit = JZ_CLOCK_GATE_AIC,
|
||||||
.set_parent = jz_clk_i2s_set_parent,
|
|
||||||
.set_rate = jz_clk_divided_set_rate,
|
.set_rate = jz_clk_divided_set_rate,
|
||||||
.get_rate = jz_clk_divided_get_rate,
|
.get_rate = jz_clk_divided_get_rate,
|
||||||
|
.enable = jz_clk_enable_gating,
|
||||||
|
.disable = jz_clk_disable_gating,
|
||||||
|
.set_parent = jz_clk_i2s_set_parent,
|
||||||
},
|
},
|
||||||
.reg = JZ_REG_CLOCK_I2S,
|
.reg = JZ_REG_CLOCK_I2S,
|
||||||
.mask = JZ_CLOCK_I2S_DIV_MASK,
|
.mask = JZ_CLOCK_I2S_DIV_MASK,
|
||||||
|
Loading…
Reference in New Issue
Block a user