diff options
author | Cezary Rojewski | 2022-03-11 16:35:29 +0100 |
---|---|---|
committer | Mark Brown | 2022-03-11 16:23:53 +0000 |
commit | da0398099a83483014adc509a2845c88ccf672af (patch) | |
tree | 4b91686e427bfcf1d93edfa04f93acd0f1c1df63 /sound/soc/bcm | |
parent | c19bd02e9029f0f75b58f4b8662527da74be8985 (diff) |
ASoC: Export DAI register and widget ctor and dctor functions
To allow for more flexibility i.e. populating component DAIs dynamically
during its initialization, without being limited to topology loading
procedure, expose snd_soc_register(), snd_soc_dapm_new_dai_widgets() and
snd_soc_dapm_free_widget() functions.
Allows users to first check available resources e.g. number of PCMs
supported by HDAudio codec before allocating the number of DAPM
widgets needed. This prevents superfluous objects from being created or
allows driver to adjust to situation when resources are limited.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220311153544.136854-3-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/bcm')
0 files changed, 0 insertions, 0 deletions