diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-11-12 12:15:46 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-13 23:20:42 +0100 |
commit | 2b5668733050fca85f0ab458c5b91732f9496a38 (patch) | |
tree | d6ec52131f6c4443f4623325723b352b65c6f0c3 /include/net/neighbour.h | |
parent | Merge tag 'mac80211-for-net-2020-11-13' of git://git.kernel.org/pub/scm/linux... (diff) | |
download | linux-2b5668733050fca85f0ab458c5b91732f9496a38.tar.xz linux-2b5668733050fca85f0ab458c5b91732f9496a38.zip |
net: ethernet: ti: cpsw: fix cpts irq after suspend
Depending on the SoC/platform the CPSW can completely lose context after a
suspend/resume cycle, including CPSW wrapper (WR) which will cause reset of
WR_C0_MISC_EN register, so CPTS IRQ will became disabled.
Fix it by moving CPTS IRQ enabling in cpsw_ndo_open() where CPTS is
actually started.
Fixes: 84ea9c0a95d7 ("net: ethernet: ti: cpsw: enable cpts irq")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20201112111546.20343-1-grygorii.strashko@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/neighbour.h')
0 files changed, 0 insertions, 0 deletions