mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 20:12:52 +07:00
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:
parent
100d4a9d20
commit
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;
|
||||
|
Loading…
Reference in New Issue
Block a user