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

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

Merge "soc: qcom: msm_bus: Set current index to default value"

parents 0ff0bdde 378738d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -869,7 +869,7 @@ static void unregister_client_adhoc(uint32_t cl)
	}

	curr = client->curr;
	if (curr >= pdata->num_usecases) {
	if ((curr < 0) || (curr >= pdata->num_usecases)) {
		MSM_BUS_ERR("Invalid index Defaulting curr to 0");
		curr = 0;
	}