From 6a7f5e41128de638fae7522262d18a6ef9cf1096 Mon Sep 17 00:00:00 2001 From: Sebastien Guiriec Date: Fri, 28 Oct 2016 16:32:50 +0200 Subject: [PATCH] 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 Signed-off-by: Mark Brown --- sound/soc/intel/atom/sst/sst_ipc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/intel/atom/sst/sst_ipc.c b/sound/soc/intel/atom/sst/sst_ipc.c index bfc8899..7934a00 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); -- 2.7.4