mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
net: renesas: rswitch: do not write to MPSM register at init time
MPSM register is used to execute mdio bus transactions. There is no need to initialize it early. Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Link: https://patch.msgid.link/20241216071957.2587354-2-nikita.yoush@cogentembedded.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
44d49629bf
commit
206112fa65
@@ -1166,7 +1166,6 @@ static void rswitch_etha_enable_mii(struct rswitch_etha *etha)
|
||||
{
|
||||
rswitch_modify(etha->addr, MPIC, MPIC_PSMCS_MASK | MPIC_PSMHT_MASK,
|
||||
MPIC_PSMCS(etha->psmcs) | MPIC_PSMHT(0x06));
|
||||
rswitch_modify(etha->addr, MPSM, 0, MPSM_MFF_C45);
|
||||
}
|
||||
|
||||
static int rswitch_etha_hw_init(struct rswitch_etha *etha, const u8 *mac)
|
||||
|
||||
Reference in New Issue
Block a user