[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1521494181-4653-1-git-send-email-andrew@lunn.ch>
Date: Mon, 19 Mar 2018 22:16:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>, u.kleine-koenig@...gutronix.de,
Andrew Lunn <andrew@...n.ch>
Subject: [PATCH net-next 0/2] Fixes to allow mv88e6xxx module to be reloaded
As reported by Uwe Kleine-K�nig, the interrupt trigger is first
configured by DT and then reconfigured to edge. This results in a
failure on EPROBE_DEFER, or if the module is unloaded and reloaded.
A second crash happens on module reload due to a missing call to the
common IRQ free code when using polled interrupts.
With these fixes in place, it becomes possible to load and unload the
kernel modules a few times without it crashing.
Andrew Lunn (2):
net: dsa: mv88e6xxx: Use the DT IRQ trigger mode
net: dsa: mv88e6xxx: Call the common IRQ free code
drivers/net/dsa/mv88e6xxx/chip.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
2.16.2
Powered by blists - more mailing lists