Skip to content

Commit

Permalink
phy: renesas: r8a779f0-eth-serdes: Fix register setting
Browse files Browse the repository at this point in the history
Fix register setting which is typo in r8a779f0_eth_serdes_chan_setting().

Fixes: 7428594 ("phy: renesas: Add Renesas Ethernet SERDES driver for R-Car S4-8")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20221226064216.3895421-1-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Yoshihiro Shimoda authored and Vinod Koul committed Jan 12, 2023
1 parent 17eee26 commit ec4a1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/phy/renesas/r8a779f0-ether-serdes.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ r8a779f0_eth_serdes_chan_setting(struct r8a779f0_eth_serdes_channel *channel)
r8a779f0_eth_serdes_write32(channel->addr, 0x0160, 0x180, 0x0007);
r8a779f0_eth_serdes_write32(channel->addr, 0x01ac, 0x180, 0x0000);
r8a779f0_eth_serdes_write32(channel->addr, 0x00c4, 0x180, 0x0310);
r8a779f0_eth_serdes_write32(channel->addr, 0x00c8, 0x380, 0x0101);
r8a779f0_eth_serdes_write32(channel->addr, 0x00c8, 0x180, 0x0101);
ret = r8a779f0_eth_serdes_reg_wait(channel, 0x00c8, 0x0180, BIT(0), 0);
if (ret)
return ret;
Expand Down

0 comments on commit ec4a1d9

Please sign in to comment.