summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst/sst_ipc.c
diff options
context:
space:
mode:
authorMark Brown2016-12-12 16:52:46 +0100
committerMark Brown2016-12-12 16:52:46 +0100
commit52708d05bad11ea2cd2c1391af13321b80982332 (patch)
tree9c214d4197712f7d2942cd9c3c1344d5d67e1a60 /sound/soc/intel/atom/sst/sst_ipc.c
parentMerge remote-tracking branch 'asoc/topic/dmaengine' into asoc-next (diff)
parentASoC: Intel: update bxt_da7219_max98357a to support quad ch dmic capture (diff)
downloadkernel-qcow2-linux-52708d05bad11ea2cd2c1391af13321b80982332.tar.gz
kernel-qcow2-linux-52708d05bad11ea2cd2c1391af13321b80982332.tar.xz
kernel-qcow2-linux-52708d05bad11ea2cd2c1391af13321b80982332.zip
Merge remote-tracking branch 'asoc/topic/intel' into asoc-next
Diffstat (limited to 'sound/soc/intel/atom/sst/sst_ipc.c')
-rw-r--r--sound/soc/intel/atom/sst/sst_ipc.c11
1 files changed, 11 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..374bb61c596d 100644
--- a/sound/soc/intel/atom/sst/sst_ipc.c
+++ b/sound/soc/intel/atom/sst/sst_ipc.c
@@ -236,6 +236,17 @@ 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);
+
+ /* Save FW version */
+ sst_drv_ctx->fw_version.type = init->fw_version.type;
+ sst_drv_ctx->fw_version.major = init->fw_version.major;
+ sst_drv_ctx->fw_version.minor = init->fw_version.minor;
+ sst_drv_ctx->fw_version.build = init->fw_version.build;
ret:
sst_wake_up_block(sst_drv_ctx, retval, FW_DWNL_ID, 0 , NULL, 0);