Re: [PATCH net-next 11/15] dsa: Add stub tag driver put method

2019-04-19 Thread Florian Fainelli
On 4/17/2019 7:31 PM, Andrew Lunn wrote: > When a DSA switch driver is unloaded, the lock on the tag driver > should be released so the module can be unloaded. Add the needed calls, > but leave the actual relase code as a stub. > > Signed-off-by: Andrew Lunn > --- [snip] > diff --git a/net/d

[PATCH net-next 11/15] dsa: Add stub tag driver put method

2019-04-17 Thread Andrew Lunn
When a DSA switch driver is unloaded, the lock on the tag driver should be released so the module can be unloaded. Add the needed calls, but leave the actual relase code as a stub. Signed-off-by: Andrew Lunn --- net/dsa/dsa.c | 4 net/dsa/dsa2.c | 2 ++ net/dsa/dsa_priv.h | 1 + ne