summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorVedang Patel <vedang.patel@intel.com>2016-07-23 03:17:23 +0300
committerMark Brown <broonie@kernel.org>2016-07-24 23:47:57 +0300
commit96bd6033c2046ffc3f88de422be831c1d68ace14 (patch)
tree33fe9b651c4bfc1df9d5db18b3cef11b2e2729cd /sound
parentc999675b04c146aa57f6e853a3746de979427fad (diff)
downloadlinux-96bd6033c2046ffc3f88de422be831c1d68ace14.tar.xz
ASoC: Intel: Skylake: Fix NULL Pointer exception in dynamic_debug.
The following bug was reported by sometime back: https://lkml.org/lkml/2016/6/29/795 This commit fixes this bug by setting value for the prefix string. Signed-off-by: Vedang Patel <vedang.patel@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/skylake/skl-sst-ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-ipc.c b/sound/soc/intel/skylake/skl-sst-ipc.c
index c141f24cae05..96f2f6889b18 100644
--- a/sound/soc/intel/skylake/skl-sst-ipc.c
+++ b/sound/soc/intel/skylake/skl-sst-ipc.c
@@ -692,7 +692,7 @@ int skl_ipc_init_instance(struct sst_generic_ipc *ipc,
/* param_block_size must be in dwords */
u16 param_block_size = msg->param_data_size / sizeof(u32);
- print_hex_dump_debug(NULL, DUMP_PREFIX_NONE,
+ print_hex_dump_debug("Param data:", DUMP_PREFIX_NONE,
16, 4, buffer, param_block_size, false);
header.primary = IPC_MSG_TARGET(IPC_MOD_MSG);