]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
ALSA: hda: tas2781: fix tas2563 EFI data endianness
authorGergo Koteles <soyer@irl.hu>
Fri, 29 Aug 2025 16:04:49 +0000 (18:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 30 Aug 2025 07:41:17 +0000 (09:41 +0200)
commite5a00dafc7e06ab1b20fd4c1535cfa9b9940061e
treec910874bd181553f1acb5ca9d17740e396f7fdc2
parentaea3493246c474bc917d124d6fb627663ab6bef0
ALSA: hda: tas2781: fix tas2563 EFI data endianness

Before conversion to unify the calibration data management, the
tas2563_apply_calib() function performed the big endian conversion and
wrote the calibration data to the device. The writing is now done by the
common tasdev_load_calibrated_data() function, but without conversion.

Put the values into the calibration data buffer with the expected
endianness.

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-1-soyer@irl.hu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c