2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-12-22 00:57:05 +08:00
|
|
|
From: Maciej Meijer <maciejx.meijer@intel.com>
|
|
|
|
Date: Tue, 4 Dec 2018 12:02:04 +0100
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] Asoc: Intel: Skylake: display firmware name and version
|
2018-12-22 00:57:05 +08:00
|
|
|
|
|
|
|
Change-Id: Icb4739ae2fdd5f7e78e82c08f1d71f30f2ff18aa
|
|
|
|
Signed-off-by: Maciej Meijer <maciejx.meijer@intel.com>
|
|
|
|
Tracked-On: OAM-72309
|
|
|
|
Reviewed-by: Mielczarek, SzymonX <szymonx.mielczarek@intel.com>
|
|
|
|
Reviewed-by: Bozek, DominikX <dominikx.bozek@intel.com>
|
|
|
|
Reviewed-by: Lewandowski, Gustaw <gustaw.lewandowski@intel.com>
|
|
|
|
Tested-by: Slawinski, AmadeuszX <amadeuszx.slawinski@intel.com>
|
|
|
|
---
|
|
|
|
sound/soc/intel/skylake/skl-sst-utils.c | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/sound/soc/intel/skylake/skl-sst-utils.c b/sound/soc/intel/skylake/skl-sst-utils.c
|
2019-03-29 14:12:17 +08:00
|
|
|
index daa3b37..8f897fd 100644
|
2018-12-22 00:57:05 +08:00
|
|
|
--- a/sound/soc/intel/skylake/skl-sst-utils.c
|
|
|
|
+++ b/sound/soc/intel/skylake/skl-sst-utils.c
|
|
|
|
@@ -526,9 +526,9 @@ int snd_skl_parse_uuids(struct sst_dsp *ctx, const struct firmware *fw,
|
|
|
|
|
|
|
|
adsp_hdr = (struct adsp_fw_hdr *)(buf + offset);
|
|
|
|
|
|
|
|
- dev_info(ctx->dev, "ADSP FW Version: %d.%d.%d.%d\n",
|
|
|
|
- adsp_hdr->major, adsp_hdr->minor,
|
|
|
|
- adsp_hdr->hotfix, adsp_hdr->build);
|
|
|
|
+ dev_info(ctx->dev, "ADSP FW Name: %.*s, Version: %d.%d.%d.%d\n",
|
|
|
|
+ (int) sizeof(adsp_hdr->name), adsp_hdr->name, adsp_hdr->major,
|
|
|
|
+ adsp_hdr->minor, adsp_hdr->hotfix, adsp_hdr->build);
|
|
|
|
|
|
|
|
/* check 1st module entry is in file */
|
|
|
|
safe_file += adsp_hdr->len + sizeof(*mod_entry);
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-12-22 00:57:05 +08:00
|
|
|
|