Skip to content

Commit 0b6f0ff

Browse files
Shenghao-Dingtiwai
authored andcommitted
ALSA: hda/tas2781: correct the register for pow calibrated data
Calibrated data was written into an incorrect register, which cause speaker protection sometimes malfuctions Fixes: 5be27f1 ("ALSA: hda/tas2781: Add tas2781 HDA driver") Signed-off-by: Shenghao Ding <[email protected]> Cc: <[email protected]> Message-ID: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 84471d0 commit 0b6f0ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/pci/hda/tas2781_hda_i2c.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,10 @@ static int tas2563_save_calibration(struct tasdevice_priv *tas_priv)
514514
static void tas2781_apply_calib(struct tasdevice_priv *tas_priv)
515515
{
516516
static const unsigned char page_array[CALIB_MAX] = {
517-
0x17, 0x18, 0x18, 0x0d, 0x18
517+
0x17, 0x18, 0x18, 0x13, 0x18,
518518
};
519519
static const unsigned char rgno_array[CALIB_MAX] = {
520-
0x74, 0x0c, 0x14, 0x3c, 0x7c
520+
0x74, 0x0c, 0x14, 0x70, 0x7c,
521521
};
522522
unsigned char *data;
523523
int i, j, rc;

0 commit comments

Comments
 (0)