]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: marvell: use phy_write_paged() to set MSCR
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 4 Jan 2022 16:38:13 +0000 (16:38 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 5 Jan 2022 18:30:29 +0000 (10:30 -0800)
commitb48109be068dbb015f21582ea01301a3c10f7b05
tree9411c33a2c749f451db803993cdc86972206d44d
parenta67ac988c6b51757443a7101003be453a8504aa1
net: phy: marvell: use phy_write_paged() to set MSCR

Use phy_write_paged() in m88e1118_config_init() to set the MSCR value.
We leave the other paged write for the LEDs in case the DT register
parsing is relying on this page.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/marvell.c