Skip to content

Commit

Permalink
usb: musb: ux500: copy dma mask from platform device to musb device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mian Yousaf Kaukab authored and Felipe Balbi committed Apr 13, 2011
1 parent 100d4a9 commit 8726606
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/usb/musb/ux500.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8726606

Please sign in to comment.