Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
	Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	patches@opensource.cirrus.com,
	Simon Trimmer <simont@opensource.cirrus.com>
Subject: [PATCH 1/8] ASoC: cs530x: Correct log message with expected variable
Date: Wed, 15 Oct 2025 10:26:04 +0100	[thread overview]
Message-ID: <20251015092619.52952-2-vitalyr@opensource.cirrus.com> (raw)
In-Reply-To: <20251015092619.52952-1-vitalyr@opensource.cirrus.com>

From: Simon Trimmer <simont@opensource.cirrus.com>

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>
---
 sound/soc/codecs/cs530x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/cs530x.c b/sound/soc/codecs/cs530x.c
index b9eff240b929..535387cd7aa3 100644
--- a/sound/soc/codecs/cs530x.c
+++ b/sound/soc/codecs/cs530x.c
@@ -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;
 	}
 
-- 
2.43.0


  reply	other threads:[~2025-10-15  9:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-15  9:26 [PATCH 0/8] Add support for Cirrus Logic CS530x DAC and CODEC variants Vitaly Rodionov
2025-10-15  9:26 ` Vitaly Rodionov [this message]
2025-10-15 10:13   ` [PATCH 1/8] ASoC: cs530x: Correct log message with expected variable Mark Brown
2025-10-15  9:26 ` [PATCH 2/8] ASoC: cs530x: Tidy up driver before adding more features Vitaly Rodionov
2025-10-15 10:11   ` Mark Brown
2025-10-15  9:26 ` [PATCH 3/8] ASoC: cs530x: Add CODEC and DAC support Vitaly Rodionov
2025-10-15  9:26 ` [PATCH 4/8] ASoC: cs530x: Check the DEVID matches the devtype Vitaly Rodionov
2025-10-15  9:26 ` [PATCH 5/8] ASoC: cs530x: Correct MCLK reference frequency values Vitaly Rodionov
2025-10-15  9:26 ` [PATCH 6/8] ASoC: cs530x: Rename i2c related structures Vitaly Rodionov
2025-10-15  9:26 ` [PATCH 7/8] ASoC: cs530x: Add SPI bus support for cs530x parts Vitaly Rodionov
2025-10-15  9:26 ` [PATCH 8/8] ASoC: cs530x: Add DT compartible strings Vitaly Rodionov
2025-10-16  5:42   ` Krzysztof Kozlowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251015092619.52952-2-vitalyr@opensource.cirrus.com \
    --to=vitalyr@opensource.cirrus.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    --cc=perex@perex.cz \
    --cc=simont@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox