1. 14 Sep, 2022 3 commits
  2. 13 Sep, 2022 8 commits
  3. 09 Sep, 2022 20 commits
  4. 08 Sep, 2022 6 commits
  5. 07 Sep, 2022 3 commits
    • Mark Brown's avatar
      ASoC: Fixes for MT8195 SOF support · e0d38f88
      Mark Brown authored
      Merge series from AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>:
      
      This series fixes Sound Open Firmware support for MT8195 by making
      sure that the sound card driver is actually able to probe and IPC
      can finally happen.
      It is now possible to get DSP support for audio.
      
      Tested on MT8195 Tomato - Acer Chromebook Spin 513 CP513-2H (Pipewire).
      e0d38f88
    • Mark Brown's avatar
      ASoC: soc-dapm.c: random cleanup · 5b16f267
      Mark Brown authored
      Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      These are cleanup patches for soc-dapm.c.
      Each patches are not related, very random cleanup.
      5b16f267
    • Kuninori Morimoto's avatar
      ASoC: soc-dapm.c: fixup snd_soc_dapm_new_control_unlocked() error handling · 3caac759
      Kuninori Morimoto authored
      Current snd_soc_dapm_new_control_unlocked() error handling is wrong.
      It is using "goto request_failed" (A), but error message is using
      "w->name" (B) which is not yet created in such timing.
      
      	snd_soc_dapm_new_control_unlocked(xxx)
      	{
      		...
      		switch (w->id) {
      		case xxx:
      			...
      			if (IS_ERR(...)) {
      				ret = PTR_ERR(...);
      (A)				goto request_failed;
      			}
      		...
      		}
      
      		prefix = soc_dapm_prefix(...);
      		if (prefix)
      (B)			w->name = kasprintf(...);
      		else
      (B)			w->name = kstrdup_const(...);
      		...
      
      (A)	request_failed:
      		if (ret != -EPROBE_DEFER)
      (B)			dev_err(..., w->name, ...);
      
      		return ...;
      	}
      
      we can create "w->name" at beginning of this function.
      In such case, we need to call kfree_const(w->name) at error case.
      This patch do these.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/87wnah8l7e.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      3caac759