aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2014-11-27 11:19:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-12-02 19:14:29 -0500
commite1fd1dc831fa0e1a4c090d0fc018ccce77569236 (patch)
tree4a98d102d68acac4d121c6a53f3595132deaf255
parentd97b4f8d690b9fc0e7dd4f4ff5aaea838254e350 (diff)
usb: xhci: fix comment for PORT_DEV_REMOVE
According to xHCI specification, PORT_DEV_REMOVE(bit 30) in PORTSC true means "Device is non-removable". Reported-by: Juro Bystricky <jurobystricky@hotmail.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/host/xhci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 053c9ead4f65..cc7c5bb7cbcf 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -358,7 +358,7 @@ struct xhci_op_regs {
358/* wake on over-current (enable) */ 358/* wake on over-current (enable) */
359#define PORT_WKOC_E (1 << 27) 359#define PORT_WKOC_E (1 << 27)
360/* bits 28:29 reserved */ 360/* bits 28:29 reserved */
361/* true: device is removable - for USB 3.0 roothub emulation */ 361/* true: device is non-removable - for USB 3.0 roothub emulation */
362#define PORT_DEV_REMOVE (1 << 30) 362#define PORT_DEV_REMOVE (1 << 30)
363/* Initiate a warm port reset - complete when PORT_WRC is '1' */ 363/* Initiate a warm port reset - complete when PORT_WRC is '1' */
364#define PORT_WR (1 << 31) 364#define PORT_WR (1 << 31)