Skip to content

Commit c6fc66b

Browse files
committed
Reset ref counts from q6afe
1 parent f3e13af commit c6fc66b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sound/soc/msm/qdsp6v2/q6afe.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ static int afe_get_cal_hw_delay(int32_t path,
145145
struct audio_cal_hw_delay_entry *entry);
146146
static int remap_cal_data(struct cal_block_data *cal_block, int cal_index);
147147

148+
void mdm_soc_reset_ref(void);
149+
148150
int afe_get_topology(int port_id)
149151
{
150152
int topology;
@@ -278,7 +280,7 @@ static int32_t afe_callback(struct apr_client_data *data, void *priv)
278280
pr_debug("%s: reset event = %d %d apr[%pK]\n",
279281
__func__,
280282
data->reset_event, data->reset_proc, this_afe.apr);
281-
283+
mdm_soc_reset_ref();
282284
cal_utils_clear_cal_block_q6maps(MAX_AFE_CAL_TYPES,
283285
this_afe.cal_data);
284286

0 commit comments

Comments
 (0)