mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-04-13 09:59:31 +00:00
ASoC: apple: Fix the wrong format specifier
In the mca_fe_hw_params(), the variable tdm_slot_width is of type unsigned int, so the output should be %u Signed-off-by: liujing <liujing@cmss.chinamobile.com> Link: https://patch.msgid.link/20241113015758.5441-1-liujing@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e038f43eda
commit
f32c3f01c2
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ static int mca_fe_hw_params(struct snd_pcm_substream *substream,
|
|||
tdm_slot_width = 32;
|
||||
|
||||
if (tdm_slot_width < params_width(params)) {
|
||||
dev_err(dev, "TDM slots too narrow (tdm=%d params=%d)\n",
|
||||
dev_err(dev, "TDM slots too narrow (tdm=%u params=%d)\n",
|
||||
tdm_slot_width, params_width(params));
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue