OpenCloudOS-Kernel/drivers/net/dsa/mv88e6xxx
Vivien Didelot b32ca44a88 net: dsa: mv88e6xxx: lock mutex when freeing IRQs
mv88e6xxx_g2_irq_free locks the registers mutex, but not
mv88e6xxx_g1_irq_free, which results in a stack trace from
assert_reg_lock when unloading the mv88e6xxx module. Fix this.

Fixes: 3460a5770c ("net: dsa: mv88e6xxx: Mask g1 interrupts and free interrupt")
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-28 10:28:24 -07:00
..
Kconfig net: dsa: mv88e6xxx: Select IRQ_DOMAIN 2016-11-18 13:54:22 -05:00
Makefile net: dsa: mv88e6xxx: Refactor mv88e6352 SERDES code into an op 2017-05-26 15:00:44 -04:00
chip.c net: dsa: mv88e6xxx: lock mutex when freeing IRQs 2017-09-28 10:28:24 -07:00
chip.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
global1.c net: dsa: mv88e6xxx: prefix Global Stats macros 2017-06-15 14:07:50 -04:00
global1.h net: dsa: mv88e6xxx: prefix Global Prio and Tag macros 2017-06-15 14:07:50 -04:00
global1_atu.c net: dsa: mv88e6xxx: prefix Global ATU macros 2017-06-15 14:07:48 -04:00
global1_vtu.c net: dsa: mv88e6xxx: prefix Global VTU macros 2017-06-15 14:07:49 -04:00
global2.c net: dsa: mv88e6xxx: make irq_chip const 2017-08-20 20:02:29 -07:00
global2.h net: dsa: mv88e6xxx: add a global2_addr info flag 2017-07-18 11:10:58 -07:00
phy.c net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
phy.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
port.c net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
port.h net: dsa: mv88e6xxx: remove EEE support 2017-08-01 20:09:10 -07:00
serdes.c net: dsa: mv88e6xxx: fix error code in mv88e6390_serdes_power() 2017-06-25 11:42:33 -04:00
serdes.h net: dsa: mv88e6xxx: rename chip header 2017-06-04 20:07:40 -04:00