]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: dwmac-visconti: Fix value of ETHER_CLK_SEL_FREQ_SEL_2P5M
authorNobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Thu, 23 Dec 2021 07:36:33 +0000 (16:36 +0900)
committerJakub Kicinski <kuba@kernel.org>
Thu, 23 Dec 2021 17:58:13 +0000 (09:58 -0800)
commit391e5975c0208ce3739587b33eba08be3e473d79
tree7198252f954424012395141480ed85d40ee3fb9a
parent65fd0c33ebe7d9735a0746761fc64d78f2fd3d53
net: stmmac: dwmac-visconti: Fix value of ETHER_CLK_SEL_FREQ_SEL_2P5M

ETHER_CLK_SEL_FREQ_SEL_2P5M is not 0 bit of the register. This is a
value, which is 0. Fix from BIT(0) to 0.

Reported-by: Yuji Ishikawa <yuji2.ishikawa@toshiba.co.jp>
Fixes: b38dd98ff8d0 ("net: stmmac: Add Toshiba Visconti SoCs glue driver")
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Link: https://lore.kernel.org/r/20211223073633.101306-1-nobuhiro1.iwamatsu@toshiba.co.jp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c