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

Commit 60eaf5fe authored by Manoj Kumar N D's avatar Manoj Kumar N D Committed by Gerrit - the friendly Code Review server
Browse files

asoc : mark used cal block as stale



Mark the used cal block as stale so that it is not reused.

Change-Id: I142d21d6d32a1b5ad24c3a2708b1df023d70947e
Signed-off-by: default avatarManoj Kumar N D <quic_mnd@quicinc.com>
parent 381b946f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1818,6 +1818,7 @@ static int msm_routing_find_topology_on_index(int fedai_id, int session_type, in
	if (cal_block != NULL) {
		topology = ((struct audio_cal_info_adm_top *)
			    cal_block->cal_info)->topology;
		cal_utils_mark_cal_used(cal_block);
	}
	mutex_unlock(&cal_data[idx]->lock);
	return topology;