mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
Revert "usb: Fix build error due to dma_mask is not at pdev_archdata at ARM"
This reverts commitd39514c14bwhich ise90fc3cb08upstream as it causes oopses on some ppc systems. Reported-by: Chen Peter-B29397 <B29397@freescale.com> Cc: Ramneek Mehresh <ramneek.mehresh@freescale.com> Cc: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -93,6 +93,7 @@ struct platform_device * __devinit fsl_usb2_device_register(
|
||||
pdev->dev.parent = &ofdev->dev;
|
||||
|
||||
pdev->dev.coherent_dma_mask = ofdev->dev.coherent_dma_mask;
|
||||
pdev->dev.dma_mask = &pdev->archdata.dma_mask;
|
||||
*pdev->dev.dma_mask = *ofdev->dev.dma_mask;
|
||||
|
||||
retval = platform_device_add_data(pdev, pdata, sizeof(*pdata));
|
||||
|
||||
Reference in New Issue
Block a user