]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: Enable usb2 LPM only when connected as usb2.0
authorPratyush Anand <pratyush.anand@st.com>
Mon, 14 Jan 2013 10:29:31 +0000 (15:59 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 12:25:28 +0000 (14:25 +0200)
commit2b758350af19db9a5c98241cf222c2e211d7a912
tree707ccd7ff07df28daa72a2d984df2fdaf789ace5
parentd7668024b3b5f9563eab8dad66cb9a4b80f36ebf
usb: dwc3: Enable usb2 LPM only when connected as usb2.0

Synopsys says:
The HIRD Threshold field must be set to ‘0’ when the device core is
operating in super speed mode.

This patch implements above statement.

Cc: <stable@vger.kernel.org> # v3.6 v3.7 v3.8
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c