summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorShenghao Ding <shenghao-ding@ti.com>2025-08-03 21:11:10 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-13 15:36:58 -0500
commit3a5fb922c56189546bc023acd80c76863a9fa768 (patch)
treea8e075422380d31ba6b3c041588407cdded898b2 /include/sound
parent75e8987dce9183a9ca5bdb04fdd48792e9e4b08f (diff)
downloadlinux-3a5fb922c56189546bc023acd80c76863a9fa768.tar.gz
linux-3a5fb922c56189546bc023acd80c76863a9fa768.tar.bz2
linux-3a5fb922c56189546bc023acd80c76863a9fa768.zip
ASoC: tas2781: Add keyword "init" in profile section
[ Upstream commit e83dcd139e776ebb86d5e88e13282580407278e4 ] Since version 0x105, the keyword 'init' was introduced into the profile, which is used for chip initialization, particularly to store common settings for other non-initialization profiles. Signed-off-by: Shenghao Ding <shenghao-ding@ti.com> Link: https://patch.msgid.link/20250803131110.1443-1-shenghao-ding@ti.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/tas2781-dsp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/tas2781-dsp.h b/include/sound/tas2781-dsp.h
index c3a9efa73d5d..a21f34c0266e 100644
--- a/include/sound/tas2781-dsp.h
+++ b/include/sound/tas2781-dsp.h
@@ -198,6 +198,14 @@ struct tasdevice_rca {
int ncfgs;
struct tasdevice_config_info **cfg_info;
int profile_cfg_id;
+ /*
+ * Since version 0x105, the keyword 'init' was introduced into the
+ * profile, which is used for chip initialization, particularly to
+ * store common settings for other non-initialization profiles.
+ * if (init_profile_id < 0)
+ * No init profile inside the RCA firmware.
+ */
+ int init_profile_id;
};
void tasdevice_select_cfg_blk(void *context, int conf_no,