linux-stable/sound/soc
Pierre-Louis Bossart 9a0b26c494 ASoC: SOF: add quirk to override topology mclk_id
[ Upstream commit d136949dd8 ]

Some Intel-based platforms rely on a topology file that hard-codes the
use of MCLK0. This is incorrect in 10% of the cases. Rather than
generating yet another set of topology files, this patch adds a kernel
module parameter to override the topology value.

In hindsight, we should never have allowed mclks to be specified in
topology, this is a hardware-level information that should not have
been visible in the topology.

Future patches will try to set this value automagically, e.g. by
parsing the NHLT content.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220919115350.43104-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-24 09:58:19 +02:00
..
adi
amd ASoC: amd: yc: Decrease level of error message 2022-08-17 15:15:55 +02:00
atmel ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion 2022-09-15 10:47:18 +02:00
au1x ASoC: wm8731: Factor out the I2C and SPI bus code into separate modules 2022-04-04 08:39:32 +01:00
bcm
cirrus
codecs ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe 2022-10-24 09:57:23 +02:00
dwc
fsl ASoC: eureka-tlv320: Hold reference returned from of_find_xxx API 2022-10-24 09:57:21 +02:00
generic ASoC: audio-graph-card2: Add of_node_put() in fail path 2022-08-17 15:15:56 +02:00
hisilicon
img ASoC: img-i2s-in: using pm_runtime_resume_and_get instead of pm_runtime_get_sync 2022-04-25 14:00:23 +01:00
intel ASoC: Intel: sof_nau8825: Move quirk check to the front in late probe 2022-08-25 11:45:51 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe 2022-08-17 15:15:44 +02:00
meson ASoC: meson: axg-card: Fix nonatomic links 2022-04-21 18:25:15 +01:00
mxs ASoC: mxs-saif: Fix refcount leak in mxs_saif_probe 2022-05-11 17:42:13 +01:00
pxa ARM: multiplatform changes, part 2 2022-06-02 15:23:54 -07:00
qcom ASoC: qcom: sm8250: add missing module owner 2022-09-15 10:47:12 +02:00
rockchip ASoC: rockchip-i2s: Undo BCLK pinctrl changes 2022-07-14 13:25:52 +01:00
samsung ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables 2022-08-17 15:15:47 +02:00
sh ASoC: rsnd: Add check for rsnd_mod_power_on 2022-10-24 09:57:20 +02:00
sof ASoC: SOF: add quirk to override topology mclk_id 2022-10-24 09:58:19 +02:00
spear
sprd
sti
stm ASoC: stm: Fix PM disable depth imbalance in stm32_i2s_probe 2022-10-24 09:57:23 +02:00
sunxi
tegra ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
ti ASoC: ti: omap-mcbsp: duplicate sysfs error 2022-07-07 17:16:21 +01:00
uniphier ASoC: uniphier: simplify the return expression of uniphier_aio_compr_set_params() 2022-05-09 12:48:41 +01:00
ux500 ASoC: ux500: mop500: Check before clk_put() not needed 2022-05-17 11:58:54 +01:00
xilinx
xtensa
Kconfig ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
Makefile ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
soc-ac97.c
soc-acpi.c
soc-card.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
soc-component.c ASoC: soc-component: Update handling to component delays 2022-05-16 12:58:41 +01:00
soc-compress.c
soc-core.c ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus() 2022-08-17 15:15:47 +02:00
soc-dai.c
soc-dapm.c ASoC: dapm: Initialise kcontrol data for mux/demux controls 2022-06-24 16:21:58 +01:00
soc-devres.c
soc-generic-dmaengine-pcm.c ASoC: soc-generic-dmaengine-pcm: Use default config when none is given 2022-05-04 15:31:19 +01:00
soc-jack.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
soc-link.c
soc-ops.c ASoC: ops: Fix off by one in range control validation 2022-06-07 20:38:08 +01:00
soc-pcm.c ASoC: soc-pcm.c: call __soc_pcm_close() in soc_pcm_close() 2022-10-24 09:57:18 +02:00
soc-topology-test.c
soc-topology.c ASoC: Pull in fixes 2022-04-05 10:29:12 +01:00
soc-utils-test.c ASoC: soc-utils: Add kunit test for snd_soc_tdm_params_to_bclk() 2022-04-05 18:27:56 +01:00
soc-utils.c ASoC: soc-utils: Add helper to calculate BCLK from TDM info 2022-04-05 18:27:55 +01:00