[PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-11 Thread Lu Baolu
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_hardw

Re: [PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-12 Thread Alan Stern
On Thu, 12 Nov 2015, Lu Baolu wrote: > 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 > n

Re: [PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-12 Thread Lu, Baolu
On 11/13/2015 12:20 AM, Alan Stern wrote: On Thu, 12 Nov 2015, Lu Baolu wrote: 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 rep

Re: [PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-13 Thread Alan Stern
On Fri, 13 Nov 2015, Lu, Baolu wrote: > On 11/13/2015 12:20 AM, Alan Stern wrote: > > On Thu, 12 Nov 2015, Lu Baolu wrote: > > > >> Commit 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 > >> hardware LPM") introduced usb3_hardware_lpm sysfs node. This > >> doesn't show the correct status o

Re: [PATCH v2 1/3] usb: core: lpm: fix usb3_hardware_lpm sysfs node

2015-11-13 Thread Lu Baolu
On 11/13/2015 11:28 PM, Alan Stern wrote: On Fri, 13 Nov 2015, Lu, Baolu wrote: On 11/13/2015 12:20 AM, Alan Stern wrote: On Thu, 12 Nov 2015, Lu Baolu wrote: Commit 655fe4effe0f ("usbcore: add sysfs support to xHCI usb3 hardware LPM") introduced usb3_hardware_lpm sysfs node. This doesn't