diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2024-10-16 11:03:41 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:49 +0100 |
| commit | 93d419a5532e9a8742d7f2df28a7cfd65371cb50 (patch) | |
| tree | 297ab3b6a42ad073138849668296bb887d1322ba /include | |
| parent | 987aa730bad3e1ef66d9f30182294daa78f6387d (diff) | |
| download | linux-93d419a5532e9a8742d7f2df28a7cfd65371cb50.tar.gz linux-93d419a5532e9a8742d7f2df28a7cfd65371cb50.tar.bz2 linux-93d419a5532e9a8742d7f2df28a7cfd65371cb50.zip | |
ASoC: sdw_utils: Add support for exclusion DAI quirks
[ Upstream commit 3d9b44d0972be1298400e449cfbcc436df2e988e ]
The system contains a mechanism for certain DAI links to be included
based on a quirk. Add support for certain DAI links to excluded based on
a quirk, this is useful in situations where the vast majority of SKUs
utilise a feature so it is easier to quirk on those that don't.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241016030344.13535-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc_sdw_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h index f68c1f193b3b..dc7541b7b615 100644 --- a/include/sound/soc_sdw_utils.h +++ b/include/sound/soc_sdw_utils.h @@ -59,6 +59,7 @@ struct asoc_sdw_dai_info { int (*rtd_init)(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); bool rtd_init_done; /* Indicate that the rtd_init callback is done */ unsigned long quirk; + bool quirk_exclude; }; struct asoc_sdw_codec_info { |
