RE: [PATCH REPOST net-next 2/2] r8152: Wake up the system if the we need a reset

From: Hayes Wang
Date: Mon Jun 03 2024 - 02:41:11 EST


Douglas Anderson <dianders@xxxxxxxxxxxx>
> Sent: Friday, May 31, 2024 7:43 AM
[...]
> If we get to the end of the r8152's suspend() routine and we find that
> the USB device is INACCESSIBLE then it means that some of our
> preparation for suspend didn't take place. We need a USB reset to get
> ourselves back in a consistent state so we can try again and that
> can't happen during system suspend. Call pm_wakeup_event() to wake the
> system up in this case.
>
> Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

Acked-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

Best Regards,
Hayes