commit | 5edef2f288bcfb8c4d72105ea5b09a760341a946 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Sun Nov 27 23:26:28 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 28 15:59:40 2016 -0500 |
tree | 84a88708fc9c00f5a324dd644f58796dae52b0e9 | |
parent | 33362fc2da18068bc99b35ccd942112b928dfc07 [diff] |
net: dsa: mv88e6xxx: Fix mv88e6xxx_g1_irq_free() interrupt count mv88e6xxx_g1_irq_setup() sets up chip->g1_irq.nirqs interrupt mappings, so free the same amount. This will be 8 or 9 in practice, less than 16. Fixes: dc30c35be720 ("net: dsa: mv88e6xxx: Implement interrupt support.") Cc: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Andreas Färber <afaerber@suse.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>