From: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Date: Fri, 30 Oct 2015 18:56:45 -0400
> 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>