Re: [PATCH v4 net-next 5/5] net: dsa: microchip: add port_cleanup function

2019-02-22 Thread Florian Fainelli
Le 2/22/19 à 4:36 PM, tristram...@microchip.com a écrit : > From: Tristram Ha > > Add port_cleanup function to reset some device variables when the port is > disabled. Add a mutex to make sure changing those variables is > thread-safe. > > Signed-off-by: Tristram Ha Reviewed-by: Florian Faine

[PATCH v4 net-next 5/5] net: dsa: microchip: add port_cleanup function

2019-02-22 Thread Tristram.Ha
From: Tristram Ha Add port_cleanup function to reset some device variables when the port is disabled. Add a mutex to make sure changing those variables is thread-safe. Signed-off-by: Tristram Ha --- drivers/net/dsa/microchip/ksz9477.c| 6 ++ drivers/net/dsa/microchip/ksz_common.c | 2