audio:sst:print IPC messages using pr_info
authorRamesh Babu K V <ramesh.babu@intel.com>
Wed, 25 Apr 2012 16:35:00 +0000 (22:05 +0530)
committerbuildbot <buildbot@intel.com>
Tue, 8 May 2012 14:07:40 +0000 (07:07 -0700)
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 <ramesh.babu@intel.com>
Reviewed-on: http://android.intel.com:8080/46069
Reviewed-by: Abdullah, Omair M <omair.m.abdullah@intel.com>
Reviewed-by: Koul, Vinod <vinod.koul@intel.com>
Reviewed-by: Martin, LoicX <loicx.martin@intel.com>
Reviewed-by: Agarwal, Vaibhav <vaibhav.agarwal@intel.com>
Reviewed-by: Gupta, ArvindX K <arvindx.k.gupta@intel.com>
Reviewed-by: Hibare, PramodX <pramodx.hibare@intel.com>
Tested-by: Hibare, PramodX <pramodx.hibare@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
sound/soc/mid-x86/sst/intel_sst_ipc.c

index 81e4c91..758a484 100644 (file)
@@ -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: