]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: pxa27x_udc: transfer mach_info into pxa_udc
authorRobert Jarzmik <robert.jarzmik@free.fr>
Wed, 1 Oct 2014 20:06:15 +0000 (22:06 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:00:57 +0000 (10:00 -0600)
commite27f4d285deb0617b71278800498f35797b7043f
treefacd467a29d70a109e1e865fc22a878f080e3529
parentdd8132644a0b603c9ef95203102cb061a16f5823
usb: gadget: pxa27x_udc: transfer mach_info into pxa_udc

Convert the mach info, and store the udc_command in the pxa_udc control
structure.

It is to be noticed that the udc_is_connected() in mach info is not
transfered. This was not used, as mioa701 machine doesn't need it,
balloon3 doesn't really use it, and most importantly the current driver
never uses it.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa27x_udc.c
drivers/usb/gadget/udc/pxa27x_udc.h