usb: gadget: udc-core: copy dma-related parameters from parent
authorFelipe Balbi <balbi@ti.com>
Tue, 26 Feb 2013 08:50:42 +0000 (10:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:17 +0000 (11:17 +0200)
commit658c8cf14dce1093e9f810f7e04a711ed79da6bd
tree465403b392659844f978bc0af6a39248dc466358
parentef222cb5b575df57d8cd511965800519b90a6c31
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>
drivers/usb/gadget/udc-core.c