net: dsa: mv88e6xxx: Hold the mutex while freeing g1 interrupts
authorAndrew Lunn <andrew@lunn.ch>
Sun, 20 Nov 2016 19:14:19 +0000 (20:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Nov 2016 02:16:13 +0000 (21:16 -0500)
commit61f7c3f8032c840da4fb6b8a8714cb31e0b8ace8
treee7ebf535c6dbecc76ff7cf175ec49947047936db
parent8e757eba074fff8460dc91717695e009b5f93f76
net: dsa: mv88e6xxx: Hold the mutex while freeing g1 interrupts

Freeing interrupts requires switch register access to mask the
interrupts. Hence we must hold the register mutex.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c