Commit b98d7628 authored by Lokesh Vutla's avatar Lokesh Vutla Committed by Vignesh Raghavendra
Browse files

net: ti: prueth_core: Fix initialization of iep timer



IEP is initialized during the probe of prueth driver. When switching to

different firmware(from dual emac to HSR) IEP counter is not reset and
current timer is used. Also when both the ports are down, IEP need not
be running as there are no users. So, move icss_iep_init/exit() calls to
emac_ndo_open/stop() respectively.

Fixes: 5ed1a006 ("net: ti: prueth_core: Add support for initializing IEP")
Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent d3ee6e09
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment