Felipe Balbi
31bff47aa2
usb: gadget: s3c2410_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:29 +02:00
Felipe Balbi
4c422049bd
usb: gadget: s3c-hsudc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:28 +02:00
Felipe Balbi
2015760c2e
usb: gadget: s3c-hsotg: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:28 +02:00
Felipe Balbi
71b0dd272d
usb: gadget: r8a66597-udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:27 +02:00
Felipe Balbi
b372c9572c
usb: gadget: pxa27x_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:27 +02:00
Felipe Balbi
6966fe8add
usb: gadget: pxa25x_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:26 +02:00
Felipe Balbi
91497600e2
usb: gadget: pch_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:26 +02:00
Felipe Balbi
981e070fdd
usb: gadget: omap_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:25 +02:00
Felipe Balbi
2127ce0f2f
usb: gadget: net2280: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:25 +02:00
Felipe Balbi
162303f6d3
usb: gadget: net2272: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:24 +02:00
Felipe Balbi
d606b356cd
usb: gadget: mv_udc_core: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:24 +02:00
Felipe Balbi
2b5ced1a0c
usb: gadget: mv_u3d_core: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:23 +02:00
Felipe Balbi
859d02c2d8
usb: gadget: m66592-udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:22 +02:00
Felipe Balbi
53fae098be
usb: gadget: imx_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:21 +02:00
Felipe Balbi
975cbd4939
usb: gadget: goku_udc: remove unused macro
...
DMA_ADDR_INVALID isn't used anymore on goku_udc,
we can just delete it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:21 +02:00
Felipe Balbi
1a36315c97
usb: gadget: goku_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:20 +02:00
Felipe Balbi
9502d03c42
usb: gadget: fusb300_udc: remove unnecessary initializations
...
udc-core nos sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:20 +02:00
Felipe Balbi
9d2d93d86d
usb: gadget: bcm63xx_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:19 +02:00
Felipe Balbi
442803d844
usb: gadget: atmel_usba_udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:19 +02:00
Felipe Balbi
6c39d90393
usb: gadget: amd5536udc: remove unnecessary initializations
...
udc-core now sets dma-related and parent fields
for us, we don't need to do it ourselves.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:18 +02:00
Felipe Balbi
2ed14320f3
usb: gadget: udc-core: initialize parent
...
if udc-core always does it, we can delete
some extra lines from all UDC drivers. Besides,
it avoids mistakes from happening and propagating.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:17 +02:00
Felipe Balbi
658c8cf14d
usb: gadget: udc-core: copy dma-related parameters from parent
...
gadget's device pointer now is guaranteed to
have valid dma_mask, dma_parms and coherent_dma_mask
fields since we're always copying from our
parent device.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:17 +02:00
Felipe Balbi
ef222cb5b5
usb: gadget: pxa27x_udc: switch over to module_platform_driver
...
just removing some boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:16 +02:00
Felipe Balbi
756380e042
usb: gadget: pxa27x_udc: drop ARCH_PXA dependency
...
This driver can compile in any arch quite
easily by just removing a few headers and
dropping cpu_is_* check from module_init.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:16 +02:00
Felipe Balbi
49401f4169
usb: gadget: introduce gadget state tracking
...
that's useful information to expose to userland.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:17:12 +02:00
Felipe Balbi
4c0c6d0085
usb: gadget: mv_udc_core: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:59 +02:00
Felipe Balbi
369ac9cb3e
usb: gadget: lpc32xx_udc: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:58 +02:00
Felipe Balbi
0324f25fc6
usb: gadget: fusb300: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:58 +02:00
Felipe Balbi
5f6da77857
usb: gadget: fsl_udc_core: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:57 +02:00
Felipe Balbi
1bda9df8dd
usb: gadget: atmel_usba_udc: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:57 +02:00
Felipe Balbi
3be49f38d3
usb: gadget: amd5536udc: remove unused structure member
...
that member isn't used anywhere in the driver
and be removed with no mercy.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:56 +02:00
Felipe Balbi
e58ebcd142
usb: gadget: s3c-hsotg: switch over to usb_gadget_map/unmap_request()
...
we have generic implementations for a reason,
let's use them.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:56 +02:00
Felipe Balbi
7bce401cc6
usb: gadget: drop now unnecessary flag
...
We don't need the ->register_my_device flag
anymore because all UDC drivers have been
properly converted.
Let's remove every history of it.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:55 +02:00
Felipe Balbi
45f596a6d7
usb: gadget: pxa27x_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:54 +02:00
Felipe Balbi
b73f5a2a0a
usb: gadget: pxa25x_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:53 +02:00
Felipe Balbi
b1e1eaba29
usb: gadget: s3c2410_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:52 +02:00
Felipe Balbi
40ed30cff5
usb: gadget: s3c-hsudc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:52 +02:00
Felipe Balbi
b8d833a327
usb: gadget: s3c-hsotg: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:51 +02:00
Felipe Balbi
80bf5343de
usb: gadget: r8a66597-udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:51 +02:00
Felipe Balbi
5a8a375714
usb: gadget: pch_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:50 +02:00
Felipe Balbi
654dfe4d2a
usb: gadget: net2280: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:49 +02:00
Felipe Balbi
c9f9c849ae
usb: gadget: net2272: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:49 +02:00
Felipe Balbi
5dc7b77365
usb: gadget: mv_udc_core: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:48 +02:00
Felipe Balbi
2cd807e7a8
usb: gadget: mv_u3d_core: fix a compile warning
...
Fix the following compile warning:
mv_u3d_core.c:1766:12: warning: 'mv_u3d_remove' \
defined but not used [-Wunused-function]
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:48 +02:00
Felipe Balbi
7a071890b4
usb: gadget: mv_u3d_core: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:47 +02:00
Felipe Balbi
96d20c32f6
usb: gadget: m66592-udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:47 +02:00
Felipe Balbi
e0c9e4739a
usb: gadget: lpc32xx_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:46 +02:00
Felipe Balbi
0b3702c62e
usb: gadget: imx_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:46 +02:00
Felipe Balbi
5637bf5b7a
usb: gadget: goku_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:45 +02:00
Felipe Balbi
fc84d2fbe7
usb: gadget: fusb300_udc: let udc-core manage gadget->dev
...
By simply setting a flag, we can drop some
boilerplate code.
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-03-18 11:16:45 +02:00