Skip to content

Commit bafcd9a

Browse files
soyersoyergregkh
authored andcommitted
ALSA: hda: tas2781: reorder tas2563 calibration variables
commit d5f8458 upstream. The tasdev_load_calibrated_data() function expects the calibration data values in the cali_data buffer as R0, R0Low, InvR0, Power, TLim which is not the same as what tas2563_save_calibration() writes to the buffer. Reorder the EFI variables in the tas2563_save_calibration() function to put the values in the buffer in the correct order. Fixes: 4fe2385 ("ALSA: hda/tas2781: Move and unified the calibrated-data getting function for SPI and I2C into the tas2781_hda lib") Cc: <stable@vger.kernel.org> Signed-off-by: Gergo Koteles <soyer@irl.hu> Link: https://patch.msgid.link/20250829160450.66623-2-soyer@irl.hu Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5601628 commit bafcd9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/pci/hda/tas2781_hda_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static int tas2563_save_calibration(struct tas2781_hda *h)
282282
{
283283
efi_guid_t efi_guid = tasdev_fct_efi_guid[LENOVO];
284284
char *vars[TASDEV_CALIB_N] = {
285-
"R0_%d", "InvR0_%d", "R0_Low_%d", "Power_%d", "TLim_%d"
285+
"R0_%d", "R0_Low_%d", "InvR0_%d", "Power_%d", "TLim_%d"
286286
};
287287
efi_char16_t efi_name[TAS2563_CAL_VAR_NAME_MAX];
288288
unsigned long max_size = TAS2563_CAL_DATA_SIZE;

0 commit comments

Comments
 (0)