release 6.16.5
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From b5891607a373a8585971c9365748382bfdd7dc6f Mon Sep 17 00:00:00 2001
|
||||
From: Gergo Koteles <soyer@irl.hu>
|
||||
Date: Fri, 29 Aug 2025 18:04:50 +0200
|
||||
Subject: ALSA: hda: tas2781: reorder tas2563 calibration variables
|
||||
|
||||
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: 4fe238513407 ("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>
|
||||
---
|
||||
sound/pci/hda/tas2781_hda_i2c.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/sound/pci/hda/tas2781_hda_i2c.c
|
||||
+++ b/sound/pci/hda/tas2781_hda_i2c.c
|
||||
@@ -282,7 +282,7 @@ static int tas2563_save_calibration(stru
|
||||
{
|
||||
efi_guid_t efi_guid = tasdev_fct_efi_guid[LENOVO];
|
||||
char *vars[TASDEV_CALIB_N] = {
|
||||
- "R0_%d", "InvR0_%d", "R0_Low_%d", "Power_%d", "TLim_%d"
|
||||
+ "R0_%d", "R0_Low_%d", "InvR0_%d", "Power_%d", "TLim_%d"
|
||||
};
|
||||
efi_char16_t efi_name[TAS2563_CAL_VAR_NAME_MAX];
|
||||
unsigned long max_size = TAS2563_CAL_DATA_SIZE;
|
Reference in New Issue
Block a user