hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/media/platform/omap3isp/isp.c
....@@ -2297,7 +2297,16 @@
22972297
22982298 /* Regulators */
22992299 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
+
23002305 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
+ }
23012310
23022311 /* Clocks
23032312 *