Skip to content

Commit 9e269e3

Browse files
singalsubroonie
authored andcommitted
ASoC: SOF: ipc4-topology: Fix incorrect sample rate print unit
This patch fixes the sample rate print unit from KHz to Hz. E.g. 48000KHz becomes 48000Hz. Signed-off-by: Seppo Ingalsuo <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 989a3e4 commit 9e269e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/sof/ipc4-topology.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static void sof_ipc4_dbg_audio_format(struct device *dev,
155155
for (i = 0; i < num_format; i++, ptr = (u8 *)ptr + object_size) {
156156
fmt = ptr;
157157
dev_dbg(dev,
158-
" #%d: %uKHz, %ubit (ch_map %#x ch_cfg %u interleaving_style %u fmt_cfg %#x)\n",
158+
" #%d: %uHz, %ubit (ch_map %#x ch_cfg %u interleaving_style %u fmt_cfg %#x)\n",
159159
i, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map,
160160
fmt->ch_cfg, fmt->interleaving_style, fmt->fmt_cfg);
161161
}

0 commit comments

Comments
 (0)