usb: gadget: mv_udc: add otg relative code
authorNeil Zhang <zhangwm@marvell.com>
Wed, 30 Nov 2011 01:57:13 +0000 (09:57 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:45:22 +0000 (11:45 +0200)
commit487d54d172b3afd3d2bf124b24eaf7f7e7b8a668
treea2c5665ce64d902afea5508db90ab8de3093fe7d
parent9823a52539adce658f2414e33f2838b896ea4971
usb: gadget: mv_udc: add otg relative code

Add otg relative code, make it possible to switch between host and
device.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc.h
drivers/usb/gadget/mv_udc_core.c