commit | 3996a4ffb01f57f82abe6c7e60ac9048dd0c31df | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Fri Oct 30 18:56:45 2015 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Nov 02 15:54:13 2015 -0500 |
tree | 4f398fa8f64ac892b64da589035cbe9000ae4112 | |
parent | ac00881f922106b45e934dc6988fa9c1ec542d71 [diff] |
net: dsa: mv88e6xxx: assert SMI lock It's easy to forget to lock the smi_mutex before calling the low-level _mv88e6xxx_reg_{read,write}, so add a assert_smi_lock function in them. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>