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>
This commit is contained in:
Родитель
100d4a9d20
Коммит
8726606424
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче