summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2026-07-29 11:22:27 +0800
committerMark Brown <broonie@kernel.org>2026-07-30 18:33:59 +0100
commitc24f4797d8e59a7697d0c1152ece30c6bc9c3fc9 (patch)
tree9e13b31eeb3b1c090eb837e7f8ade0f5b89ee590 /include
parentdf3bdb5533314be6270699ef841d13363b7b1093 (diff)
ASoC: SDCA: export sdca_find_entity_by_label() helper
Export the sdca_find_entity_by_label() helper so that codec drivers can locate SDCA entities by their labels. Signed-off-by: Shuming Fan <shumingf@realtek.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260729032227.3750770-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/sdca_function.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/sdca_function.h b/include/sound/sdca_function.h
index b1489178b0ef..fb931ae735a2 100644
--- a/include/sound/sdca_function.h
+++ b/include/sound/sdca_function.h
@@ -1469,5 +1469,7 @@ struct sdca_control_range *sdca_selector_find_range(struct device *dev,
struct sdca_cluster *sdca_id_find_cluster(struct device *dev,
struct sdca_function_data *function,
const int id);
+struct sdca_entity *sdca_find_entity_by_label(struct sdca_function_data *function,
+ const char *entity_label);
#endif