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

Commit a63af807 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: cpas: Setting the vote level on max supported clock lvl...

Merge "msm: camera: cpas: Setting the vote level on max supported clock lvl basis" into camera-kernel.lnx.1.0
parents bac3c3aa 6b2833c2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -62,9 +62,11 @@ static int cam_cpas_util_vote_bus_client_level(
		return -EINVAL;
	}

	if (level >= bus_client->num_usecases) {
		CAM_ERR(CAM_CPAS, "Invalid vote level=%d, usecases=%d", level,
			bus_client->num_usecases);
	if (level >= CAM_MAX_VOTE) {
		CAM_ERR(CAM_CPAS,
			"Invalid votelevel=%d,usecases=%d,Bus client=[%d][%s]",
			level, bus_client->num_usecases,
			bus_client->client_id, bus_client->name);
		return -EINVAL;
	}