linux-stable/drivers/phy/broadcom
Al Cooper 59463193b0 phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices
[ Upstream commit f7fc5b7090 ]

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: f1c0db40a3 ("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>
2022-12-31 13:14:33 +01:00
..
Kconfig
Makefile
phy-bcm-cygnus-pcie.c
phy-bcm-kona-usb2.c
phy-bcm-ns-usb2.c
phy-bcm-ns-usb3.c
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c
phy-bcm-sr-pcie.c
phy-bcm-sr-usb.c
phy-bcm63xx-usbh.c
phy-brcm-sata.c
phy-brcm-usb-init-synopsys.c
phy-brcm-usb-init.c phy: phy-brcm-usb: fixup BCM4908 support 2022-04-08 14:23:46 +02:00
phy-brcm-usb-init.h phy: phy-brcm-usb: fixup BCM4908 support 2022-04-08 14:23:46 +02:00
phy-brcm-usb.c phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices 2022-12-31 13:14:33 +01:00