ALSA: hda: tas2781: reorder tas2563 calibration variables
authorGergo Koteles <soyer@irl.hu>
Fri, 29 Aug 2025 16:04:50 +0000 (18:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 30 Aug 2025 07:41:33 +0000 (09:41 +0200)
commitd5f8458e34a331e5b228de142145e62ac5bfda34
tree671d33421d9337b9e01888c95c6b0339462069de
parente5a00dafc7e06ab1b20fd4c1535cfa9b9940061e
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/hda/codecs/side-codecs/tas2781_hda_i2c.c