diff options
author | Suresh Gupta <suresh.gupta@freescale.com> | 2014-02-28 17:30:48 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:26 (GMT) |
commit | 4d29529207741fbe0bbe96412d6425ebcd9e1553 (patch) | |
tree | fede92be61cb327d03983cbb2adc7f95e02ffe95 | |
parent | 874e49f594c966d3f45262bd6f9ab220d6fee012 (diff) | |
download | linux-4d29529207741fbe0bbe96412d6425ebcd9e1553.tar.xz |
USB: Gadget: Set dma_ops for FSL USB Gadget Device
Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
-rw-r--r-- | drivers/usb/gadget/udc/fsl_udc_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index 2dd9cf0..3ffcdaa 100644 --- a/drivers/usb/gadget/udc/fsl_udc_core.c +++ b/drivers/usb/gadget/udc/fsl_udc_core.c @@ -2478,6 +2478,7 @@ static int fsl_udc_probe(struct platform_device *pdev) /* Setup gadget.dev and register with kernel */ dev_set_name(&udc_controller->gadget.dev, "gadget"); udc_controller->gadget.dev.of_node = pdev->dev.of_node; + set_dma_ops(&udc_controller->gadget.dev, pdev->dev.archdata.dma_ops); if (!IS_ERR_OR_NULL(udc_controller->transceiver)) udc_controller->gadget.is_otg = 1; |