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

From: Jiri Pirko
Date: Mon Oct 30 2023 - 07:55:31 EST


Mon, Oct 30, 2023 at 07:01:11AM CET, bernd.edlinger@xxxxxxxxxx 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@xxxxxxxxxx>

Reviewed-by: Jiri Pirko <jiri@xxxxxxxxxx>