summaryrefslogtreecommitdiff
path: root/drivers/phy/broadcom/phy-brcm-usb-init.c
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2022-10-05 14:30:14 -0700
committerVinod Koul <vkoul@kernel.org>2022-11-07 10:20:04 +0530
commitf7fc5b7090372fc4dd7798c874635ca41b8ba733 (patch)
tree6d52114684c10d753feb6c73337d16dedb96f11a /drivers/phy/broadcom/phy-brcm-usb-init.c
parent32fb07f35675c4c3311ae370471ee1ae6cc3e694 (diff)
downloadlinux-next-f7fc5b7090372fc4dd7798c874635ca41b8ba733.tar.gz
phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
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 ("phy: usb: Add "wake on" functionality") Signed-off-by: Al Cooper <alcooperx@gmail.com> Signed-off-by: Justin Chen <justinpopo6@gmail.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/1665005418-15807-3-git-send-email-justinpopo6@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/broadcom/phy-brcm-usb-init.c')
0 files changed, 0 insertions, 0 deletions