Re: [PATCH 2/6] phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices

From: Florian Fainelli
Date: Thu Oct 06 2022 - 18:05:58 EST

On 10/5/2022 2:30 PM, justinpopo6@xxxxxxxxx wrote:
From: Al Cooper <alcooperx@xxxxxxxxx>

The PHY's "wakeup_count" is not incrementing when waking from
WoL. The wakeup count can be found in sysfs at:
The problem is that the system wakup event handler was being passed
the wrong "device" by the PHY driver.

Fixes: f1c0db40a3ad ("usb: Add "wake on" functionality")
Signed-off-by: Al Cooper <alcooperx@xxxxxxxxx>
Signed-off-by: Justin Chen <justinpopo6@xxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature