Skip to content

Commit

Permalink
ASoC: Intel: Skylake: Fix NULL Pointer exception in dynamic_debug.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
vedangpatel1 authored and broonie committed Jul 24, 2016
1 parent c999675 commit 96bd603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/intel/skylake/skl-sst-ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 96bd603

Please sign in to comment.