net: dsa: mv88e6xxx: Release lock while requesting IRQ
authorAndrew Lunn <andrew@lunn.ch>
Sat, 23 Feb 2019 16:43:57 +0000 (17:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 06:21:23 +0000 (22:21 -0800)
commit342a0ee70acbee97fdeb91349420f8744eb291fb
treeaee18de53cd077094d7451ce8788320198460b6b
parentf6d9758b12660484b6639364cc406da92a918c96
net: dsa: mv88e6xxx: Release lock while requesting IRQ

There is no need to hold the register lock while requesting the GPIO
interrupt. By not holding it we can also avoid a false positive
lockdep splat.

Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/chip.c