mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
ASoC: cs530x: Correct log message with expected variable
The function used one parameter for the switch statement, but logged a different parameter when it defaulted. Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Link: https://patch.msgid.link/20251017161543.214235-2-vitalyr@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
211ddde082
commit
248adfe32b
|
|
@ -793,7 +793,7 @@ static int cs530x_set_sysclk(struct snd_soc_component *component, int clk_id,
|
|||
case CS530X_SYSCLK_SRC_PLL:
|
||||
break;
|
||||
default:
|
||||
dev_err(component->dev, "Invalid clock id %d\n", clk_id);
|
||||
dev_err(component->dev, "Invalid sysclk source: %d\n", source);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user