Re: [PATCH] net: ethernet: ti: cpsw: fix cpts irq after suspend

From: Tony Lindgren
Date: Fri Nov 13 2020 - 03:16:02 EST


* Grygorii Strashko <grygorii.strashko@xxxxxx> [201112 11:15]:
> 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@xxxxxxxxxxx>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@xxxxxx>

Thanks this works for me:

Tested-by: Tony Lindgren <tony@xxxxxxxxxxx>