Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: add USB_OTG_ADP definition

Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes.

Signed-off-by: Macpaul Lin <macpaul@gmail.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

authored by

Macpaul Lin and committed by
Felipe Balbi
5d701cef 8486a0bb

+1
+1
include/uapi/linux/usb/ch9.h
··· 688 688 /* from usb_otg_descriptor.bmAttributes */ 689 689 #define USB_OTG_SRP (1 << 0) 690 690 #define USB_OTG_HNP (1 << 1) /* swap host/device roles */ 691 + #define USB_OTG_ADP (1 << 2) /* support ADP */ 691 692 692 693 /*-------------------------------------------------------------------------*/ 693 694