usb: dwc3: ep0: add LPM handling
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 13 Sep 2011 15:54:39 +0000 (17:54 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Apr 2012 08:31:21 +0000 (11:31 +0300)
commite6a3b5e2888b51e37c65c97dae966f793bc4806a
tree934c2a7578d15dedbe2221c28cbdff7afd28588f
parent51249dca627d9d0e6b41531e716cbc308554a62c
usb: dwc3: ep0: add LPM handling

On device loading the driver enables LPM and the acceptance of U1 and U2
states. The [Set|Clear]Feature requests for "U1/U2" are forwarded
directly to the hardware and allow / forbid the initiation of the low
power links.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c