linux/drivers/net/phy/mscc
Antoine Tenart 6119dda34e net: phy: mscc: restore the base page in vsc8514/8584_config_init
In the vsc8584_config_init and vsc8514_config_init, the base page is set
to 'GPIO', configuration is done, and the page is never explicitly
restored to the standard page. No bug was triggered as it turns out
helpers called in those config_init functions do modify the base page,
and set it back to standard. But that is dangerous and any modification
to those functions would introduce bugs. This patch fixes this, to
improve maintenance, by restoring the base page to 'standard' once
'GPIO' accesses are completed.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-25 16:22:11 -07:00
..
Makefile net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00
mscc.h net: phy: mscc: timestamping and PHC support 2020-06-24 14:33:16 -07:00
mscc_fc_buffer.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_mac.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_macsec.c net: phy: mscc: macsec: fix sparse warnings 2020-06-25 16:22:10 -07:00
mscc_macsec.h net: phy: mscc: fix copyright and author information in MACsec 2020-06-24 14:33:16 -07:00
mscc_main.c net: phy: mscc: restore the base page in vsc8514/8584_config_init 2020-06-25 16:22:11 -07:00
mscc_ptp.c net: phy: mscc: do not access the MDIO bus lock directly 2020-06-25 16:22:11 -07:00
mscc_ptp.h net: phy: mscc: 1588 block initialization 2020-06-24 14:33:16 -07:00