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

Commit a9a8d7a9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: Check status of actuators"

parents fa1f37d1 21001a99
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -217,7 +217,10 @@ int msm_sensor_get_sub_module_index(struct device_node *of_node,
			pr_err("%s failed %d\n", __func__, __LINE__);
			goto ERROR;
		}
		if (of_device_is_available(src_node))
			sensor_info->subdev_id[SUB_MODULE_ACTUATOR] = val;
		else
			CDBG("%s:%d actuator disabled!\n", __func__, __LINE__);
		of_node_put(src_node);
		src_node = NULL;
	}