From: Ramesh Babu K V Date: Wed, 25 Apr 2012 16:35:00 +0000 (+0530) Subject: audio:sst:print IPC messages using pr_info X-Git-Tag: 2.1b_release~824 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1372ede383eec585a55a9ecb5fbdc75bb3fad285;p=kernel%2Fkernel-mfld-blackbay.git audio:sst:print IPC messages using pr_info BZ: 31581 IPC messages are exchanged between SST driver and LPE during audio activity. These IPC messages are the main pulse of audio activity. Printing these messages using pr_info helps us to debug issues reported from field. Change-Id: I6180e6f8cbd23ed443b15b399fc25d90204f44be Signed-off-by: Ramesh Babu K V Reviewed-on: http://android.intel.com:8080/46069 Reviewed-by: Abdullah, Omair M Reviewed-by: Koul, Vinod Reviewed-by: Martin, LoicX Reviewed-by: Agarwal, Vaibhav Reviewed-by: Gupta, ArvindX K Reviewed-by: Hibare, PramodX Tested-by: Hibare, PramodX Reviewed-by: buildbot Tested-by: buildbot --- diff --git a/sound/soc/mid-x86/sst/intel_sst_ipc.c b/sound/soc/mid-x86/sst/intel_sst_ipc.c index 81e4c91..758a484 100644 --- a/sound/soc/mid-x86/sst/intel_sst_ipc.c +++ b/sound/soc/mid-x86/sst/intel_sst_ipc.c @@ -165,7 +165,7 @@ void sst_post_message(struct work_struct *work) msg = list_entry(sst_drv_ctx->ipc_dispatch_list.next, struct ipc_post, node); list_del(&msg->node); - pr_debug("Post message: header = %x\n", msg->header.full); + pr_info("Post message: header = %x\n", msg->header.full); pr_debug("size: = %x\n", msg->header.part.data); if (msg->header.part.large) memcpy_toio(sst_drv_ctx->mailbox + SST_MAILBOX_SEND, @@ -257,7 +257,7 @@ void sst_process_message(struct work_struct *work) container_of(work, struct sst_ipc_msg_wq, wq); int str_id = msg->header.part.str_id; - pr_debug("IPC process for %x\n", msg->header.full); + pr_info("IPC process for %x\n", msg->header.full); /* based on msg in list call respective handler */ switch (msg->header.part.msg_id) { @@ -369,7 +369,7 @@ void sst_process_reply(struct work_struct *work) int str_id = msg->header.part.str_id; struct stream_info *str_info; - pr_debug("sst: IPC process reply for %x\n", msg->header.full); + pr_info("sst: IPC process reply for %x\n", msg->header.full); switch (msg->header.part.msg_id) { case IPC_IA_TARGET_DEV_SELECT: