Skip to content
Commit fd4a5177 authored by Vinod Koul's avatar Vinod Koul Committed by David S. Miller
Browse files

net: stmmac: fix num_por initialization

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: a7c30e62

 ("net: stmmac: Add driver for Qualcomm ethqos")
Reported-by: default avatarRahul Ankushrao Kawadgave <rahulak@qti.qualcomm.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9de5d235
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment