[net-next,PATCH 1/2] net: stmmac: dwmac-stm32: Add test to verify if ETHCK is used before checking clk rate
Marek Vasut
marex at denx.de
Thu Jun 27 08:06:16 PDT 2024
On 6/27/24 10:49 AM, Christophe Roullier wrote:
> When we want to use clock from RCC to clock Ethernet PHY (with ETHCK)
> we need to check if value of clock rate is authorized
I think it would be better to add fullstop (.) here , and then continue:
If ETHCK is unused, the ETHCK frequency is 0 Hz and validation fails. It
makes no sense to validate unused ETHCK, so skip the validation.
> but we must add
> test before to check if ETHCK is used.
With the commit message updated a bit
Reviewed-by: Marek Vasut <marex at denx.de>
Thanks !
More information about the linux-arm-kernel
mailing list