summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDylan Hung <dylan_hung@aspeedtech.com>2022-04-12 14:48:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-20 10:34:13 +0300
commit331c99ee8dcb5e7a6dcf9f2edf171d991d14077e (patch)
tree16922dc161f4201082af26381375e94c3f162d7a /net
parent8f79ce226ad2e9b2ec598de2b9560863b7549d1b (diff)
downloadlinux-331c99ee8dcb5e7a6dcf9f2edf171d991d14077e.tar.xz
net: ftgmac100: access hardware register after clock ready
[ Upstream commit 3d2504524531990b32a0629cc984db44f399d161 ] AST2600 MAC register 0x58 is writable only when the MAC clock is enabled. Usually, the MAC clock is enabled by the bootloader so register 0x58 is set normally when the bootloader is involved. To make ast2600 ftgmac100 work without the bootloader, postpone the register write until the clock is ready. Fixes: 137d23cea1c0 ("net: ftgmac100: Fix Aspeed ast2600 TX hang issue") Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions