[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1394719632-27101-1-git-send-email-suresh.gupta@freescale.com>
Date: Thu, 13 Mar 2014 19:37:12 +0530
From: Suresh Gupta <suresh.gupta@...escale.com>
To: <balbi@...com>, <gregkh@...uxfoundation.org>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<suresh.gupta@...escale.com>, Suresh Gupta <B42813@...escale.com>
Subject: [PATCH] usb: gadget: fsl: Set dma_ops for FSL USB Gadget Device
From: Suresh Gupta <B42813@...escale.com>
Signed-off-by: Suresh Gupta <B42813@...escale.com>
---
drivers/usb/gadget/fsl_udc_core.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c
index 35b20e6..2a43d9d 100644
--- a/drivers/usb/gadget/fsl_udc_core.c
+++ b/drivers/usb/gadget/fsl_udc_core.c
@@ -2456,6 +2456,7 @@ static int __init 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;
--
1.7.11.7
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists