Re: [PATCH 2/2] net: phy: Fix race conditions in the driver

2016-08-19 Thread Andrew Lunn
On Fri, Aug 19, 2016 at 06:18:11PM +0530, Kedareswara rao Appana wrote: > This patch fixes the below race conditions in the driver. > ---> Fix Opps after unload the driver as a module > ---> Use spin locks where relevant. > ---> Take reference on the external phy to prevent issues > when phy

[PATCH 2/2] net: phy: Fix race conditions in the driver

2016-08-19 Thread Kedareswara rao Appana
This patch fixes the below race conditions in the driver. ---> Fix Opps after unload the driver as a module ---> Use spin locks where relevant. ---> Take reference on the external phy to prevent issues when phy driver is unloaded. Reported-by: Andrew Lunn Signed-off-by: