commit | b32ca44a88def4bf92626d8777494c6f14638c42 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Tue Sep 26 14:57:21 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 28 10:28:24 2017 -0700 |
tree | 6204f56250e49dd6d73f31815795ccac1a2d5704 | |
parent | da7c9561015e93d10fe6aab73e9288e0d09d65a6 [diff] |
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: 3460a5770ce9 ("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>