Skip to content

Commit 72f85ff

Browse files
dbalutagregkh
authored andcommitted
ASoC: SOF: ipc3: Use standard dev_dbg API
[ Upstream commit 55c3983 ] Use standard dev_dbg API because it gives better debugging information and allows dynamic control of prints. Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://patch.msgid.link/20240926090252.106040-1-daniel.baluta@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org> Stable-dep-of: 07c774d ("ASoC: soc-compress: use function to clear symmetric params") Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 8165e8b commit 72f85ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/sof/ipc3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static inline void ipc3_log_header(struct device *dev, u8 *text, u32 cmd)
226226
static void sof_ipc3_dump_payload(struct snd_sof_dev *sdev,
227227
void *ipc_data, size_t size)
228228
{
229-
printk(KERN_DEBUG "Size of payload following the header: %zu\n", size);
229+
dev_dbg(sdev->dev, "Size of payload following the header: %zu\n", size);
230230
print_hex_dump_debug("Message payload: ", DUMP_PREFIX_OFFSET,
231231
16, 4, ipc_data, size, false);
232232
}

0 commit comments

Comments
 (0)