summaryrefslogtreecommitdiff
path: root/include/net/smc.h
diff options
context:
space:
mode:
authorBiao Huang <biao.huang@mediatek.com>2019-10-09 15:33:48 +0800
committerJakub Kicinski <jakub.kicinski@netronome.com>2019-10-09 19:39:00 -0700
commit0ea1671f26204ee8ef138651707dace886fb9df4 (patch)
tree804703e94f3886de6ce589f84f8c364739ac6c66 /include/net/smc.h
parent690a6ca7df3de7b90546bc10a620d1ac8ccaa1a1 (diff)
net: stmmac: dwmac-mediatek: fix wrong delay value issue when resume back
mac_delay value will be divided by 550/170 in mt2712_delay_ps2stage(), which is invoked at the beginning of mt2712_set_delay(), and the value should be restored at the end of mt2712_set_delay(). Or, mac_delay will be divided again when invoking mt2712_set_delay() when resume back. So, add mt2712_delay_stage2ps() to mt2712_set_delay() to recovery the original mac_delay value. Signed-off-by: Biao Huang <biao.huang@mediatek.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'include/net/smc.h')
0 files changed, 0 insertions, 0 deletions