diff options
author | Felipe Balbi <balbi@ti.com> | 2013-12-19 13:14:29 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-03-05 10:44:51 -0500 |
commit | 81bc5599d66d741552fd8e519bcb91ed8d683786 (patch) | |
tree | 6e40213eb60d17c157a4de1fce9f0a69f9da4189 /drivers/usb/dwc3 | |
parent | f2b685d5aad81facb85542227f5f8215eda8f4ce (diff) |
usb: dwc3: add has_hibernation flag
this will tell driver that this version
of the core was configured with hibernation
feature enabled.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index eab166a02cd6..a2b01785bb3f 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h | |||
@@ -636,6 +636,7 @@ struct dwc3_scratchpad_array { | |||
636 | * @delayed_status: true when gadget driver asks for delayed status | 636 | * @delayed_status: true when gadget driver asks for delayed status |
637 | * @ep0_bounced: true when we used bounce buffer | 637 | * @ep0_bounced: true when we used bounce buffer |
638 | * @ep0_expect_in: true when we expect a DATA IN transfer | 638 | * @ep0_expect_in: true when we expect a DATA IN transfer |
639 | * @has_hibernation: true when dwc3 was configured with Hibernation | ||
639 | * @is_selfpowered: true when we are selfpowered | 640 | * @is_selfpowered: true when we are selfpowered |
640 | * @needs_fifo_resize: not all users might want fifo resizing, flag it | 641 | * @needs_fifo_resize: not all users might want fifo resizing, flag it |
641 | * @pullups_connected: true when Run/Stop bit is set | 642 | * @pullups_connected: true when Run/Stop bit is set |
@@ -729,6 +730,7 @@ struct dwc3 { | |||
729 | unsigned delayed_status:1; | 730 | unsigned delayed_status:1; |
730 | unsigned ep0_bounced:1; | 731 | unsigned ep0_bounced:1; |
731 | unsigned ep0_expect_in:1; | 732 | unsigned ep0_expect_in:1; |
733 | unsigned has_hibernation:1; | ||
732 | unsigned is_selfpowered:1; | 734 | unsigned is_selfpowered:1; |
733 | unsigned needs_fifo_resize:1; | 735 | unsigned needs_fifo_resize:1; |
734 | unsigned pullups_connected:1; | 736 | unsigned pullups_connected:1; |