diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2018-03-27 15:30:41 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-17 19:07:24 +0200 |
commit | f11a5c27f9287cacad74af31cd92d4413eccc05a (patch) | |
tree | 7896716d4d960a6aaf952ba2cb4f8f26969cb9e9 /include/sound/soc.h | |
parent | ASoC: core: Allow topology to override machine driver FE DAI link config. (diff) | |
download | linux-f11a5c27f9287cacad74af31cd92d4413eccc05a.tar.xz linux-f11a5c27f9287cacad74af31cd92d4413eccc05a.zip |
ASoC: core: Add name prefix for machines with topology rewrites
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index fac4ff04fb7d..3676d0a8f532 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1015,6 +1015,7 @@ struct snd_soc_platform_driver { /* this platform uses topology and ignore machine driver FEs */ const char *ignore_machine; + const char *topology_name_prefix; int (*be_hw_params_fixup)(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params); bool use_dai_pcm_id; /* use the DAI link PCM ID as PCM device number */ @@ -1167,6 +1168,7 @@ struct snd_soc_card { const char *long_name; const char *driver_name; char dmi_longname[80]; + char topology_shortname[32]; struct device *dev; struct snd_card *snd_card; |