aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorShenghao Ding <shenghao-ding@ti.com>2025-08-03 21:11:10 +0800
committerMark Brown <broonie@kernel.org>2025-08-10 21:09:13 +0100
commite83dcd139e776ebb86d5e88e13282580407278e4 (patch)
tree2b6f2870ea9de72dcef3212b9fc1bbb4b41ca0fd /include/sound
parent32dffd4c3e3129e3d9bb378af8d80bb57dc3038b (diff)
downloadlinux-e83dcd139e776ebb86d5e88e13282580407278e4.tar.gz
ASoC: tas2781: Add keyword "init" in profile section
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>
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 c3a9efa73d5d05..a21f34c0266ea4 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,