Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d701cef authored by Macpaul Lin's avatar Macpaul Lin Committed by Felipe Balbi
Browse files

usb: add USB_OTG_ADP definition



Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes.

Signed-off-by: default avatarMacpaul Lin <macpaul@gmail.com>
Signed-off-by: default avatarLi Jun <jun.li@freescale.com>
Acked-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 8486a0bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -688,6 +688,7 @@ struct usb_otg20_descriptor {
/* from usb_otg_descriptor.bmAttributes */
/* from usb_otg_descriptor.bmAttributes */
#define USB_OTG_SRP		(1 << 0)
#define USB_OTG_SRP		(1 << 0)
#define USB_OTG_HNP		(1 << 1)	/* swap host/device roles */
#define USB_OTG_HNP		(1 << 1)	/* swap host/device roles */
#define USB_OTG_ADP		(1 << 2)	/* support ADP */


/*-------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------*/