xhci: debugfs: add debugfs interface to enable compliance mode for a port
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:40:06 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:09 +0000 (18:03 +0200)
commit87a03802184c866af35a8fcdd5fd14d94e9bf9eb
treeb73b5b18841b06f6de5627ce60ed774fb4659e4a
parent65475023928bce90a98aa4e44047fd17afead050
xhci: debugfs: add debugfs interface to enable compliance mode for a port

Enable compliance transition for a port by writing "compliance" to the
ports portsc file in debugfs.
port must be "Not-connected" and Link must be in RxDetect state to enable
compliance mode.

Only needed for host that have CTC flag set.
Allows state transitioning to compliance at 1st LFPS timeout.

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-debugfs.c