mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
When there is no fallback possibility available for the function topology use it is better to try to create a profile for the card in best effort manner, leaving out non supported links for example. As an example: some laptops present SSPx-BT link but we don't have fragment yet to support this. If we only have support for functional topology without monolithic fallback then we would fail the card creation. The reason why the monolithic topology works on the same device is that it does not have the SSPx-BT link handled, it is ignored. In case when there is no fallback possibility we should try to create the card with links that we support as best effort instead of failing and leaving the user without a card. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20251215101036.9370-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
16 lines
400 B
C
16 lines
400 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* soc-acpi-intel-get-tplg.h - get-tplg-files ops
|
|
*
|
|
* Copyright (c) 2025, Intel Corporation.
|
|
*
|
|
*/
|
|
|
|
#ifndef _SND_SOC_ACPI_INTEL_GET_TPLG_H
|
|
#define _SND_SOC_ACPI_INTEL_GET_TPLG_H
|
|
|
|
int sof_sdw_get_tplg_files(struct snd_soc_card *card, const struct snd_soc_acpi_mach *mach,
|
|
const char *prefix, const char ***tplg_files, bool best_effort);
|
|
|
|
#endif
|