mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 11:56:46 +07:00
clk: pxa: b bit of clkcfg means fast bus
The meaning of this bit was inverted : - when set to 0, system bus clock is half of the CPU run clock - when set to 1, system bus clock is the CPU run clock Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
26bd423b88
commit
7c5145191b
@ -291,9 +291,9 @@ static unsigned long clk_pxa27x_system_bus_get_rate(struct clk_hw *hw,
|
||||
if (osc_forced)
|
||||
return parent_rate;
|
||||
if (b)
|
||||
return parent_rate / 2;
|
||||
else
|
||||
return parent_rate;
|
||||
else
|
||||
return parent_rate / 2;
|
||||
}
|
||||
|
||||
static u8 clk_pxa27x_system_bus_get_parent(struct clk_hw *hw)
|
||||
|
Loading…
Reference in New Issue
Block a user