Skip to contentSkip to conversation

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

PATCH Applied [email protected] 2 participants 2 messages Mar 30 Sound

lore
Share & tools
lore
#0 lore raw

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

From: wangdicheng <[email protected]>

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().

---
 sound/hda/codecs/cirrus/cs8409.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/hda/codecs/cirrus/cs8409.c +1 -1
index fad705092777..2d8f482e6474 100644
@@ -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;
 }
 
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 8 lines · On Mon, 30 Mar 2026 07:41:31 +0200, [email protected] wrote:

From: wangdicheng <[email protected]>

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().

Thanks, applied now to for-next branch.

Takashi