Re: [PATCH net] net: stmmac: dwmac-qcom-ethqos: fix a regression on EMAC < 3

From: Vinod Koul
Date: Mon Jun 05 2023 - 03:08:27 EST


On 02-06-23, 21:04, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>
> We must not assign plat_dat->dwmac4_addrs unconditionally as for
> structures which don't set them, this will result in the core driver
> using zeroes everywhere and breaking the driver for older HW. On EMAC < 2
> the address should remain NULL.

Reviewed-by: Vinod Koul <vkoul@xxxxxxxxxx>

--
~Vinod