projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
100d4a9
)
usb: musb: ux500: copy dma mask from platform device to musb device
author
Mian Yousaf Kaukab
<mian.yousaf.kaukab@stericsson.com>
Tue, 15 Mar 2011 15:24:29 +0000
(16:24 +0100)
committer
Felipe Balbi
<balbi@ti.com>
Wed, 13 Apr 2011 08:50:57 +0000
(11:50 +0300)
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>
drivers/usb/musb/ux500.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/ux500.c
b/drivers/usb/musb/ux500.c
index d6384e4aeef96ba77448fa048cbc6560a4d2353d..f7e04bf34a13a86f7439b2033b255137f10d039b 100644
(file)
--- 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;