diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2015-11-14 16:26:32 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-01 14:58:18 -0800 |
commit | bf5ce5bf3cc7136fd7fe5e8999a580bc93a9c8f6 (patch) | |
tree | ceba9f149feb24ad8cb93bb33a2655dd59e32df8 /drivers/reset/sti | |
parent | c56a2b2bc661fe089fde9beffeadcb0ecb5e934b (diff) | |
download | linux-bf5ce5bf3cc7136fd7fe5e8999a580bc93a9c8f6.tar.bz2 |
usb: core: lpm: fix usb3_hardware_lpm sysfs node
Commit 655fe4effe0f ("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 655fe4effe0f ("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>
Diffstat (limited to 'drivers/reset/sti')
0 files changed, 0 insertions, 0 deletions