usb: gadget: composite: add USB_DT_OTG request handling
authorMacpaul Lin <macpaul@gmail.com>
Thu, 9 Jul 2015 07:18:42 +0000 (15:18 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 29 Jul 2015 14:59:20 +0000 (09:59 -0500)
commit53e6242db8d60da0587d36951cc9434d1a1c21dd
tree431c56b593f7c1fbd1426ca1d0646dba04ceba8a
parent84704bb3d183e55d042bf57043552f2649443a64
usb: gadget: composite: add USB_DT_OTG request handling

Copy usb_otg_descriptor from config's descriptor if host requests
USB_DT_OTG.

Signed-off-by: Macpaul Lin <macpaul@gmail.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/composite.c