Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30a9566a authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Peter Chen
Browse files

usb: chipidea: usb2: delete the redundant setting default DMA mask code



Similar as commit 2b2fe36d ("usb: chipidea: imx: delete the
redundant setting default DMA mask code"), the ci_hdrc_usb2 platform
device is also created by device tree, the default DMA mask should be
already set by of_dma_configure when the device are created. So delete
the redundant code at driver.

Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
parent bec584a8
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -74,10 +74,6 @@ static int ci_hdrc_usb2_probe(struct platform_device *pdev)
		}
		}
	}
	}


	ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32));
	if (ret)
		goto clk_err;

	ci_pdata->name = dev_name(dev);
	ci_pdata->name = dev_name(dev);


	priv->ci_pdev = ci_hdrc_add_device(dev, pdev->resource,
	priv->ci_pdev = ci_hdrc_add_device(dev, pdev->resource,