mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
clk: ingenic: jz4740: Fix gating of UDC clock
[ Upstream commitb7e29924a1] The UDC clock is gated when the bit is cleared, not when it is set. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Tested-by: Artur Rojek <contact@artur-rojek.eu> Fixes:2b555a4b9c("clk: ingenic: Add missing flag for UDC clock") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
48196c39be
commit
bb35bf0e83
|
|
@ -165,7 +165,7 @@ static const struct ingenic_cgu_clk_info jz4740_cgu_clocks[] = {
|
|||
.parents = { JZ4740_CLK_EXT, JZ4740_CLK_PLL_HALF, -1, -1 },
|
||||
.mux = { CGU_REG_CPCCR, 29, 1 },
|
||||
.div = { CGU_REG_CPCCR, 23, 1, 6, -1, -1, -1 },
|
||||
.gate = { CGU_REG_SCR, 6 },
|
||||
.gate = { CGU_REG_SCR, 6, true },
|
||||
},
|
||||
|
||||
/* Gate-only clocks */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user