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

Florian Fainelli florian.fainelli at broadcom.com
Thu Oct 6 15:05:47 PDT 2022



On 10/5/2022 2:30 PM, justinpopo6 at gmail.com wrote:
> From: Al Cooper <alcooperx at gmail.com>
> 
> The PHY's "wakeup_count" is not incrementing when waking from
> WoL. The wakeup count can be found in sysfs at:
> /sys/bus/platform/devices/rdb/*.usb-phy/power/wakeup_count.
> 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 at gmail.com>
> Signed-off-by: Justin Chen <justinpopo6 at gmail.com>

Acked-by: Florian Fainelli <f.fainelli at gmail.com>
-- 
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-phy/attachments/20221006/30e8e62c/attachment.p7s>


More information about the linux-phy mailing list