https://github.com/torvalds/linux
Revision fd4a5177382230d39e0d95632d98103fb2938383 authored by Vinod Koul on 14 May 2020, 06:28:36 UTC, committed by David S. Miller on 14 May 2020, 19:48:15 UTC
Driver missed initializing num_por which is one of the por values that
driver configures to hardware. In order to get these values, add a new
structure ethqos_emac_driver_data which holds por and num_por values
and populate that in driver probe.

Fixes: a7c30e62d4b8 ("net: stmmac: Add driver for Qualcomm ethqos")
Reported-by: Rahul Ankushrao Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 9de5d23
History
Tip revision: fd4a5177382230d39e0d95632d98103fb2938383 authored by Vinod Koul on 14 May 2020, 06:28:36 UTC
net: stmmac: fix num_por initialization
Tip revision: fd4a517

back to top