From bd06bae5c7ad2a9a9e1523aa17e00c929c20c3e0 Mon Sep 17 00:00:00 2001 From: Ajay Jawade Date: Tue, 20 Dec 2011 20:47:45 +0530 Subject: usb:musb:ux500: Disable DMA for MTP Disable DMA for MTP. ST-Ericsson ID: 325587 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I950aca1233e76f79a547f6d928f2203e064e924e Signed-off-by: Ajay Jawade Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43316 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Praveena NADAHALLY Reviewed-by: Srinidhi KASAGAR --- drivers/usb/musb/ux500_dma.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/usb') diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c index db657104292..7bf0c289ef5 100644 --- a/drivers/usb/musb/ux500_dma.c +++ b/drivers/usb/musb/ux500_dma.c @@ -224,6 +224,7 @@ static int ux500_dma_is_compatible(struct dma_channel *channel, list_for_each_entry(f, &cdev->config->functions, list) { if (!strcmp(f->name, "cdc_ethernet") || !strcmp(f->name, "rndis") || + !strcmp(f->name, "mtp") || !strcmp(f->name, "phonet") || !strcmp(f->name, "adb")) { if (gadget->speed == USB_SPEED_HIGH) -- cgit v1.2.3