[PATCH] ALSA: hda/cs8409: Fix error message in cs8409_i2c_bulk_read()

wangdich9700@163.com posted 1 patch 3 days ago
sound/hda/codecs/cirrus/cs8409.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ALSA: hda/cs8409: Fix error message in cs8409_i2c_bulk_read()
Posted by wangdich9700@163.com 3 days ago
From: wangdicheng <wangdicheng@kylinos.cn>

The error message in cs8409_i2c_bulk_read() incorrectly says "I2C Bulk
Write Failed" when it should say "I2C Bulk Read Failed". This is a
copy-paste error from cs8409_i2c_bulk_write().

Signed-off-by: wangdicheng <wangdicheng@kylinos.cn>
---
 sound/hda/codecs/cirrus/cs8409.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/hda/codecs/cirrus/cs8409.c b/sound/hda/codecs/cirrus/cs8409.c
index fad705092777..2d8f482e6474 100644
--- a/sound/hda/codecs/cirrus/cs8409.c
+++ b/sound/hda/codecs/cirrus/cs8409.c
@@ -268,7 +268,7 @@ static int cs8409_i2c_bulk_read(struct sub_codec *scodec, struct cs8409_i2c_para
 	return 0;
 
 error:
-	codec_err(codec, "I2C Bulk Write Failed 0x%02x\n", scodec->addr);
+	codec_err(codec, "I2C Bulk Read Failed 0x%02x\n", scodec->addr);
 	return -EIO;
 }
 
-- 
2.25.1
Re: [PATCH] ALSA: hda/cs8409: Fix error message in cs8409_i2c_bulk_read()
Posted by Takashi Iwai 2 days, 22 hours ago
On Mon, 30 Mar 2026 07:41:31 +0200,
wangdich9700@163.com wrote:
> 
> From: wangdicheng <wangdicheng@kylinos.cn>
> 
> The error message in cs8409_i2c_bulk_read() incorrectly says "I2C Bulk
> Write Failed" when it should say "I2C Bulk Read Failed". This is a
> copy-paste error from cs8409_i2c_bulk_write().
> 
> Signed-off-by: wangdicheng <wangdicheng@kylinos.cn>

Thanks, applied now to for-next branch.


Takashi