kernel/drivers/media/platform/omap3isp/isp.c
.. .. @@ -2297,7 +2297,16 @@ 2297 2297 2298 2298 /* Regulators */ 2299 2299 isp->isp_csiphy1.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy1"); 2300 + if (IS_ERR(isp->isp_csiphy1.vdd)) {2301 + ret = PTR_ERR(isp->isp_csiphy1.vdd);2302 + goto error;2303 + }2304 +2300 2305 isp->isp_csiphy2.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy2"); 2306 + if (IS_ERR(isp->isp_csiphy2.vdd)) {2307 + ret = PTR_ERR(isp->isp_csiphy2.vdd);2308 + goto error;2309 + }2301 2310 2302 2311 /* Clocks 2303 2312 *