-
- Downloads
usb: core: lpm: fix usb3_hardware_lpm sysfs node
Commit 655fe4ef ("usbcore: add sysfs support to xHCI usb3 hardware LPM") introduced usb3_hardware_lpm sysfs node. This doesn't show the correct status of USB3 U1 and U2 LPM status. This patch fixes this by replacing usb3_hardware_lpm with two nodes, usb3_hardware_lpm_u1 (for U1) and usb3_hardware_lpm_u2 (for U2), and recording the U1/U2 LPM status in right places. This patch should be back-ported to kernels as old as 4.3, that contains Commit 655fe4ef ("usbcore: add sysfs support to xHCI usb3 hardware LPM"). Cc: stable@vger.kernel.org Signed-off-by:Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- Documentation/ABI/testing/sysfs-bus-usb 9 additions, 7 deletionsDocumentation/ABI/testing/sysfs-bus-usb
- Documentation/usb/power-management.txt 6 additions, 5 deletionsDocumentation/usb/power-management.txt
- drivers/usb/core/hub.c 30 additions, 9 deletionsdrivers/usb/core/hub.c
- drivers/usb/core/sysfs.c 26 additions, 5 deletionsdrivers/usb/core/sysfs.c
- include/linux/usb.h 4 additions, 0 deletionsinclude/linux/usb.h
Loading
Please register or sign in to comment