[PATCH] net: stmmac: Wait a bit for the reset to take effect

Jiri Pirko jiri at resnulli.us
Mon Oct 30 04:55:23 PDT 2023


Mon, Oct 30, 2023 at 07:01:11AM CET, bernd.edlinger at hotmail.de wrote:
>otherwise the synopsys_id value may be read out wrong,
>because the GMAC_VERSION register might still be in reset
>state, for at least 1 us after the reset is de-asserted.
>
>Add a wait for 10 us before continuing to be on the safe side.
>
>Signed-off-by: Bernd Edlinger <bernd.edlinger at hotmail.de>

Reviewed-by: Jiri Pirko <jiri at nvidia.com>



More information about the linux-arm-kernel mailing list