projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84471d0
)
ALSA: hda/tas2781: correct the register for pow calibrated data
author
Shenghao Ding
<shenghao-ding@ti.com>
Sat, 6 Apr 2024 13:20:09 +0000
(21:20 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 7 Apr 2024 06:32:14 +0000
(08:32 +0200)
Calibrated data was written into an incorrect register, which cause
speaker protection sometimes malfuctions
Fixes:
5be27f1e3ec9
("ALSA: hda/tas2781: Add tas2781 HDA driver")
Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Cc: <stable@vger.kernel.org>
Message-ID: <
20240406132010
.341-1-shenghao-ding@ti.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_i2c.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/tas2781_hda_i2c.c
b/sound/pci/hda/tas2781_hda_i2c.c
index
48dae33
..
75f7674
100644
(file)
--- a/
sound/pci/hda/tas2781_hda_i2c.c
+++ b/
sound/pci/hda/tas2781_hda_i2c.c
@@
-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, 0x
0d, 0x18
+ 0x17, 0x18, 0x18, 0x
13, 0x18,
};
static const unsigned char rgno_array[CALIB_MAX] = {
- 0x74, 0x0c, 0x14, 0x
3c, 0x7c
+ 0x74, 0x0c, 0x14, 0x
70, 0x7c,
};
unsigned char *data;
int i, j, rc;