projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a750ba5
)
ASoC: Intel: Skylake: Print error code in IPC for SKL
author
Omair M Abdullah
<omair.m.abdullah@intel.com>
Fri, 10 Jul 2015 16:48:45 +0000
(22:18 +0530)
committer
Mark Brown
<broonie@kernel.org>
Thu, 16 Jul 2015 20:46:50 +0000
(21:46 +0100)
Signed-off-by: Omair M Abdullah <omair.m.abdullah@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst-ipc.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/skylake/skl-sst-ipc.c
b/sound/soc/intel/skylake/skl-sst-ipc.c
index c0d0928613375af3881e22c828b980164dd99dce..937a0a3a63a0f0241cb19c89f79a2410665d898a 100644
(file)
--- a/
sound/soc/intel/skylake/skl-sst-ipc.c
+++ b/
sound/soc/intel/skylake/skl-sst-ipc.c
@@
-362,6
+362,12
@@
static void skl_ipc_process_reply(struct sst_generic_ipc *ipc,
break;
}
+ if (reply != IPC_GLB_REPLY_SUCCESS) {
+ dev_err(ipc->dev, "ipc FW reply: reply=%d", reply);
+ dev_err(ipc->dev, "FW Error Code: %u\n",
+ ipc->dsp->fw_ops.get_fw_errcode(ipc->dsp));
+ }
+
list_del(&msg->list);
sst_ipc_tx_msg_reply_complete(ipc, msg);
}