WSL2-Linux-Kernel/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 phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option 2022-02-16 12:56:22 +01:00
Makefile phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-bcm-cygnus-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-kona-usb2.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns-usb2.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-ns-usb3.c phy: bcm-ns-usb3: Remove redundant dev_err call in bcm_ns_usb3_mdio_probe() 2021-06-14 11:00:52 +05:30
phy-bcm-ns2-pcie.c
phy-bcm-ns2-usbdrd.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-sr-pcie.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm-sr-usb.c phy: broadcom: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:46 +05:30
phy-bcm63xx-usbh.c phy: bcm63xx-usbh: Add BCM63xx USBH driver 2020-07-21 22:59:58 +05:30
phy-brcm-sata.c phy: phy-brcm-sata: remove unneeded semicolon 2021-02-04 13:37:26 +05:30
phy-brcm-usb-init-synopsys.c phy: usb: Fix incorrect clearing of tca_drv_sel bit in SETUP reg for 7211 2020-10-28 21:40:56 +05:30
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