Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

For each platform devices which is created by device tree, the default
DMA mask is set by of_dma_configure when the device are created. So
delete the redundant code at driver.

Signed-off-by: Peter Chen <peter.chen@nxp.com>

-4
-4
drivers/usb/chipidea/ci_hdrc_imx.c
··· 292 292 if (pdata.flags & CI_HDRC_SUPPORTS_RUNTIME_PM) 293 293 data->supports_runtime_pm = true; 294 294 295 - ret = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); 296 - if (ret) 297 - goto err_clk; 298 - 299 295 ret = imx_usbmisc_init(data->usbmisc_data); 300 296 if (ret) { 301 297 dev_err(&pdev->dev, "usbmisc init failed, ret=%d\n", ret);