usb: expose usb port's pm qos flags to user space
authorLan Tianyu <tianyu.lan@intel.com>
Tue, 22 Jan 2013 20:26:31 +0000 (04:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Jan 2013 18:14:20 +0000 (10:14 -0800)
commitf6cced1a08b475c5ac946823bb057714be7af4f6
tree68a5d9b213296d772cbc6ff1aaccf4cb3289a894
parentad493e5e580546e6c3024b76a41535476da1546a
usb: expose usb port's pm qos flags to user space

This patch is to expose usb port's pm qos flags(pm_qos_no_power_off,
pm_qos_remote_wakeup) to user space. User can set pm_qos_no_power_off
flag to prohibit the port from being powered off.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/port.c