mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 22:14:54 +00:00
clk/qcom: apq8096: fix set rate for the uart clock
The function should return a valid rate. Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org> Reviewed-by: Link: https://lore.kernel.org/r/20250407175617.3494506-2-jorge.ramirez@oss.qualcomm.com Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
parent
f933b5a704
commit
1561b01a08
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,8 @@ static ulong apq8096_clk_set_rate(struct clk *clk, ulong rate)
|
|||
return clk_init_sdc(priv, rate);
|
||||
break;
|
||||
case GCC_BLSP2_UART2_APPS_CLK: /*UART2*/
|
||||
return clk_init_uart(priv);
|
||||
clk_init_uart(priv);
|
||||
return 7372800;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue