From e4dd10a51a7caefa9322f4db92d32819cdf60625 Mon Sep 17 00:00:00 2001 From: Gokul krishna Krishnakumar Date: Thu, 25 Mar 2021 13:56:52 -0700 Subject: [PATCH] soc: qcom: pdr: Add logging after indack is sent This change adds logging after the indack is sent. This helps in debugging the communication between APSS and Q6. Change-Id: I0c4a89480e684dff4eb91e95fe4071f6b90824f9 Signed-off-by: Siddharth Gupta Signed-off-by: Gokul krishna Krishnakumar --- drivers/soc/qcom/pdr_interface.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/soc/qcom/pdr_interface.c b/drivers/soc/qcom/pdr_interface.c index 0034af927b48..f06080f74884 100644 --- a/drivers/soc/qcom/pdr_interface.c +++ b/drivers/soc/qcom/pdr_interface.c @@ -288,6 +288,9 @@ static void pdr_indack_work(struct work_struct *work) /* Ack the indication after clients release the PD resources */ pdr_send_indack_msg(pdr, pds, ind->transaction_id); + pr_info("PDR: Indication ack sent to %s, state: 0x%x, trans-id: %d\n", + pds->service_path, pds->state, ind->transaction_id); + mutex_lock(&pdr->list_lock); list_del(&ind->node); mutex_unlock(&pdr->list_lock);