]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: tas2781: Put three different calibrated data solution into the same data structure
authorShenghao Ding <shenghao-ding@ti.com>
Mon, 2 Feb 2026 10:27:56 +0000 (18:27 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 13:38:02 +0000 (13:38 +0000)
commit55137f5a68b5e888504ad36d07221cd749bb8956
treef6b4d51d23c8d808ea3c358d899a6de53ee77ed5
parente50de21fd7ce54d34a461d5f5ba6331271be57fb
ASoC: tas2781: Put three different calibrated data solution into the same data structure

TAS2781 driver supports three solutions of calibrated data. The first is
from the driver itself: driver reads the calibrated files directly during
probe; The second is from user space: during init of audio hal, the audio
hal will pass the calibrated data via kcontrol interface. Driver will
store this data in "struct calidata" for use. The third is from UEFI,
mainly used in hda device. These three solutions save the calibrated data
into different data structures. It is time to put them together into
"struct calidata" for use.

Signed-off-by: Shenghao Ding <shenghao-ding@ti.com>
Link: https://patch.msgid.link/20260202102757.532-1-shenghao-ding@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/tas2781.h
sound/hda/codecs/side-codecs/tas2781_hda.c
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c
sound/soc/codecs/tas2781-fmwlib.c
sound/soc/codecs/tas2781-i2c.c