Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
asoc : mark used cal block as stale
Browse files Browse the repository at this point in the history
Mark the used cal block as stale so that it is not reused.

Change-Id: I142d21d6d32a1b5ad24c3a2708b1df023d70947e
Signed-off-by: Manoj Kumar N D <[email protected]>
  • Loading branch information
Manoj Kumar N D authored and Gerrit - the friendly Code Review server committed Feb 13, 2023
1 parent 381b946 commit 60eaf5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions asoc/msm-pcm-routing-auto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 60eaf5f

Please sign in to comment.