summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2022-10-06 00:30:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-14 12:16:03 +0300
commitc2a98433421ea23872ffb6d404c49552b391137a (patch)
treed26f4ca8c32d3b727544eb5de987a332a3bc954d /include
parentca31ad0932af7e77719c16ca8334c821421ba618 (diff)
downloadlinux-c2a98433421ea23872ffb6d404c49552b391137a.tar.xz
phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
[ Upstream commit f7fc5b7090372fc4dd7798c874635ca41b8ba733 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions