ohci-nxp.c (22d9d8e8316d7f69046c8805ce9aa8d9c43d4e5b) ohci-nxp.c (e1fd7341837238c6c5380c5073887d238f706cf0)
1/*
2 * driver for NXP USB Host devices
3 *
4 * Currently supported OHCI host devices:
5 * - NXP LPC32xx
6 *
7 * Authors: Dmitry Chigirev <source@mvista.com>
8 * Vitaly Wool <vitalywool@gmail.com>

--- 212 unchanged lines hidden (view full) ---

221 isp1301_node = NULL;
222 }
223
224 isp1301_i2c_client = isp1301_get_client(isp1301_node);
225 if (!isp1301_i2c_client) {
226 return -EPROBE_DEFER;
227 }
228
1/*
2 * driver for NXP USB Host devices
3 *
4 * Currently supported OHCI host devices:
5 * - NXP LPC32xx
6 *
7 * Authors: Dmitry Chigirev <source@mvista.com>
8 * Vitaly Wool <vitalywool@gmail.com>

--- 212 unchanged lines hidden (view full) ---

221 isp1301_node = NULL;
222 }
223
224 isp1301_i2c_client = isp1301_get_client(isp1301_node);
225 if (!isp1301_i2c_client) {
226 return -EPROBE_DEFER;
227 }
228
229 pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
230 ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
229 ret = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
231 if (ret)
232 goto fail_disable;
233
234 dev_dbg(&pdev->dev, "%s: " DRIVER_DESC " (nxp)\n", hcd_name);
235 if (usb_disabled()) {
236 dev_err(&pdev->dev, "USB is disabled\n");
237 ret = -ENODEV;
238 goto fail_disable;

--- 149 unchanged lines hidden ---
230 if (ret)
231 goto fail_disable;
232
233 dev_dbg(&pdev->dev, "%s: " DRIVER_DESC " (nxp)\n", hcd_name);
234 if (usb_disabled()) {
235 dev_err(&pdev->dev, "USB is disabled\n");
236 ret = -ENODEV;
237 goto fail_disable;

--- 149 unchanged lines hidden ---