summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/ux500.c
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2011-03-15 16:24:29 +0100
committerFelipe Balbi <balbi@ti.com>2011-04-13 11:50:57 +0300
commit8726606424738ca0341e1bb93ebac956d80f6d29 (patch)
tree8859dee2867f51ffc0aab8fedba5fe385be29031 /drivers/usb/musb/ux500.c
parent100d4a9d20015315bf4215d11c2cf4b1f30c33b8 (diff)
downloadop-kernel-dev-8726606424738ca0341e1bb93ebac956d80f6d29.zip
op-kernel-dev-8726606424738ca0341e1bb93ebac956d80f6d29.tar.gz
usb: musb: ux500: copy dma mask from platform device to musb device
musb code checks dma mask before calling dma hooks. Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/ux500.c')
-rw-r--r--drivers/usb/musb/ux500.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index d6384e4..f7e04bf 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -93,6 +93,8 @@ static int __init ux500_probe(struct platform_device *pdev)
}
musb->dev.parent = &pdev->dev;
+ musb->dev.dma_mask = pdev->dev.dma_mask;
+ musb->dev.coherent_dma_mask = pdev->dev.coherent_dma_mask;
glue->dev = &pdev->dev;
glue->musb = musb;
OpenPOWER on IntegriCloud