diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-01-30 15:56:12 +0100 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2020-01-30 15:56:12 +0100 |
commit | c07f9c5f9c7fcf57b4052ba80ff2a891016745e8 (patch) | |
tree | 230dd5bc38cf4bd9d65e5d4172e943ab5d033d62 | |
parent | 49d86af82f7fd439c3dedb54be8f31ddbc778832 (diff) | |
parent | 731323ae9197c8c4104bf4405e57d0f1278d56ee (diff) | |
download | kernel-c07f9c5f9c7fcf57b4052ba80ff2a891016745e8.tar.gz kernel-c07f9c5f9c7fcf57b4052ba80ff2a891016745e8.tar.xz kernel-c07f9c5f9c7fcf57b4052ba80ff2a891016745e8.zip |
merge master
-rw-r--r-- | alsa-5.6.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/alsa-5.6.patch b/alsa-5.6.patch deleted file mode 100644 index 9336cffa2..000000000 --- a/alsa-5.6.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 9aa9b367e35494f2d02112ca440a78908f645a04 Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela <perex@perex.cz> -Date: Fri, 22 Nov 2019 09:31:03 +0100 -Subject: [PATCH 4/4] ASoC: SOF - topology - do not change the link triger - order for old firmare - -This is patch for SOF v1.3 firmware. The DSP firmware will crash -without this patch. The 1.4.1 firmare has this issue fixed. - -BugLink: https://github.com/thesofproject/sof/issues/2102 -Signed-off-by: Jaroslav Kysela <perex@perex.cz> ---- - sound/soc/sof/topology.c | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/sound/soc/sof/topology.c b/sound/soc/sof/topology.c -index d82ab981e840..cbbbf96416ef 100644 ---- a/sound/soc/sof/topology.c -+++ b/sound/soc/sof/topology.c -@@ -2971,6 +2971,7 @@ static int sof_link_load(struct snd_soc_component *scomp, int index, - struct snd_soc_tplg_private *private = &cfg->priv; - struct sof_ipc_dai_config config; - struct snd_soc_tplg_hw_config *hw_config; -+ struct sof_ipc_fw_version *v = &sdev->fw_ready.version; - int num_hw_configs; - int ret; - int i = 0; -@@ -2988,9 +2989,12 @@ static int sof_link_load(struct snd_soc_component *scomp, int index, - if (!link->no_pcm) { - link->nonatomic = true; - -- /* set trigger order */ -- link->trigger[0] = SND_SOC_DPCM_TRIGGER_POST; -- link->trigger[1] = SND_SOC_DPCM_TRIGGER_POST; -+ /* this causes DSP panic on firmware v1.3 */ -+ if (SOF_ABI_VER(v->major, v->minor, v->micro) > SOF_ABI_VER(3, 7, 0)) { -+ /* set trigger order */ -+ link->trigger[0] = SND_SOC_DPCM_TRIGGER_POST; -+ link->trigger[1] = SND_SOC_DPCM_TRIGGER_POST; -+ } - - /* nothing more to do for FE dai links */ - return 0; --- -2.20.1 - |