ALSA: hda/tas2781: correct the register for pow calibrated data
PATCH 1/1 ALSA: hda/tas2781: correct the register for pow calibrated data
fixed tas2781 calibrated data - pow was written into a wrong register.
Signed-off-by Shenghao Ding <[email protected]>
--- sound/pci/hda/tas2781_hda_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/pci/hda/tas2781_hda_i2c.c +2 -2
@@ -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
Quoted 1 line · Shenghao Ding
fixed tas2781 calibrated data - pow was written into a wrong register.
fixed --> Fix
Fixes tag?
Quoted 1 line
Signed-off-by Shenghao Ding <[email protected]>
...
sound/pci/hda/tas2781_hda_i2c.c static int tas2563_save_calibration(struct tasdevice_priv *tas_priv) · line 520
Quoted 2 lines
sound/pci/hda/tas2781_hda_i2c.c +2
-0+ 0x17, 0x18, 0x18, 0x13, 0x18 +0x74 ,0x0c ,0x14 ,0x70 ,0x7c
While at it, can you add a trailing comma?
It will help in case of extending this in the future.
Signature · 2 lines
With Best Regards, Andy Shevchenko