Skip to contentSkip to conversation

ALSA: hda/tas2781: correct the register for pow calibrated data

PATCH Superseded Shenghao Ding 2 participants 2 messages Apr 4, 2024 Sound

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ALSA: hda/tas2781: correct the register for pow calibrated data

Fixes 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")

---
v2:
- Add Fixes tag
- To add a trailing comma will help in case of extending this in the future.

---
 sound/pci/hda/tas2781_hda_i2c.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
sound/pci/hda/tas2781_hda_i2c.c +2 -2
index 48dae3339305..75f7674c66ee 100644
@@ -514,10 +514,10 @@ static int tas2563_save_calibration(struct tasdevice_priv *tas_priv)
 static void tas2781_apply_calib(struct tasdevice_priv *tas_priv)
 {
 	static const unsigned char page_array[CALIB_MAX] = {
-		0x17, 0x18, 0x18, 0x0d, 0x18
+		0x17, 0x18, 0x18, 0x13, 0x18,
 	};
 	static const unsigned char rgno_array[CALIB_MAX] = {
-		0x74, 0x0c, 0x14, 0x3c, 0x7c
+		0x74, 0x0c, 0x14, 0x70, 0x7c,
 	};
 	unsigned char *data;
 	int i, j, rc;
Signature · 1 line
2.34.1
#1 lore raw
Quoted 4 lines · Shenghao Ding
Fixes 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")

It's always a bad sign when a patch is provided without a proper description. Please give a bit more info.

Also, you need no blank line between Fixes and Singed-off-by tags.

thanks,

Takashi