]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: dsa: bcm_sf2: Utilize nested MDIO read/write
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 8 Jan 2017 05:01:57 +0000 (21:01 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2017 03:01:22 +0000 (22:01 -0500)
commit2cfe8f8290bd28cf1ee67db914a6e76cf8e6437b
tree431a83e3fd514e6fc2d8bbbe672f514c2e6bd85f
parenta4c61b92b3a4cbda35bb0251a5063a68f0861b2c
net: dsa: bcm_sf2: Utilize nested MDIO read/write

We are implementing a MDIO bus which is behind another one, so use the
nested version of the accessors to get lockdep annotations correct.

Fixes: 461cd1b03e32 ("net: dsa: bcm_sf2: Register our slave MDIO bus")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c