bdk: clock: add i2c to the errata affected list
This commit is contained in:
@@ -240,7 +240,13 @@ int clock_uart_use_src_div(u32 idx, u32 baud)
|
|||||||
|
|
||||||
void clock_enable_i2c(u32 idx)
|
void clock_enable_i2c(u32 idx)
|
||||||
{
|
{
|
||||||
|
// Ease the stress to APB.
|
||||||
|
bpmp_clk_rate_relaxed(true);
|
||||||
|
|
||||||
clock_enable(&_clock_i2c[idx]);
|
clock_enable(&_clock_i2c[idx]);
|
||||||
|
|
||||||
|
// Restore sys clock.
|
||||||
|
bpmp_clk_rate_relaxed(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void clock_disable_i2c(u32 idx)
|
void clock_disable_i2c(u32 idx)
|
||||||
|
|||||||
Reference in New Issue
Block a user