net: dsa: mv88e6xxx: Release lock while requesting IRQ
authorAndrew Lunn <andrew@lunn.ch>
Sat, 23 Feb 2019 16:43:57 +0000 (17:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2019 12:05:38 +0000 (13:05 +0100)
commit0e23eeb0fc58f03e06ca026f17c70949d43b15fb
tree66dbb1665c7ccbacb6957ff07f29afb05d2ee3c0
parent646e5c77b418aa1f9e79c53ea5a8e4ebcd5f9f5d
net: dsa: mv88e6xxx: Release lock while requesting IRQ

[ Upstream commit 342a0ee70acbee97fdeb91349420f8744eb291fb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c