summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom
diff options
context:
space:
mode:
authorSebastien Guiriec2016-10-28 16:32:50 +0200
committerMark Brown2016-10-28 19:20:04 +0200
commit6a7f5e41128de638fae7522262d18a6ef9cf1096 (patch)
tree9023130045e05b0a1af2af3e8ef15e6dc9fa32bd /sound/soc/intel/atom
parentASoC: Intel: Skylake: Use DPIB to update position for Playback stream (diff)
downloadkernel-qcow2-linux-6a7f5e41128de638fae7522262d18a6ef9cf1096.tar.gz
kernel-qcow2-linux-6a7f5e41128de638fae7522262d18a6ef9cf1096.tar.xz
kernel-qcow2-linux-6a7f5e41128de638fae7522262d18a6ef9cf1096.zip
ASoC: Intel: atom: Add debug information related to FW version
This patch is adding debug information related to SST FW version. Signed-off-by: Sebastien Guiriec <sebastien.guiriec@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom')
-rw-r--r--sound/soc/intel/atom/sst/sst_ipc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/intel/atom/sst/sst_ipc.c b/sound/soc/intel/atom/sst/sst_ipc.c
index bfc889950bb2..7934a0047384 100644
--- a/sound/soc/intel/atom/sst/sst_ipc.c
+++ b/sound/soc/intel/atom/sst/sst_ipc.c
@@ -236,6 +236,11 @@ static void process_fw_init(struct intel_sst_drv *sst_drv_ctx,
retval = init->result;
goto ret;
}
+ dev_info(sst_drv_ctx->dev, "FW Version %02x.%02x.%02x.%02x\n",
+ init->fw_version.type, init->fw_version.major,
+ init->fw_version.minor, init->fw_version.build);
+ dev_dbg(sst_drv_ctx->dev, "Build date %s Time %s\n",
+ init->build_info.date, init->build_info.time);
ret:
sst_wake_up_block(sst_drv_ctx, retval, FW_DWNL_ID, 0 , NULL, 0);