diff options
| -rw-r--r-- | sound/soc/msm/qdsp6v2/q6afe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/msm/qdsp6v2/q6afe.c b/sound/soc/msm/qdsp6v2/q6afe.c index 8efa04c3807e..b87eef810d42 100644 --- a/sound/soc/msm/qdsp6v2/q6afe.c +++ b/sound/soc/msm/qdsp6v2/q6afe.c @@ -292,11 +292,13 @@ static int32_t afe_callback(struct apr_client_data *data, void *priv) this_afe.tx_cb(data->opcode, data->token, data->payload, this_afe.tx_private_data); + this_afe.tx_cb = NULL; } if (this_afe.rx_cb) { this_afe.rx_cb(data->opcode, data->token, data->payload, this_afe.rx_private_data); + this_afe.rx_cb = NULL; } return 0; |
