1. 13 Jan, 2021 2 commits
    • Stephan Gerhold's avatar
      ASoC: qcom: qdsp6: Move frontend AIFs to q6asm-dai · 6fd8d2d2
      Stephan Gerhold authored
      At the moment it is necessary to set up the DAPM routes between
      front-end AIF<->DAI explicitly in the device tree, e.g. using
      
      	audio-routing =
      		"MM_DL1", "MultiMedia1 Playback",
      		"MM_DL3", "MultiMedia3 Playback",
      		"MM_DL4", "MultiMedia4 Playback",
      		"MultiMedia2 Capture", "MM_UL2";
      
      This is prone to mistakes and (sadly) there is no clear error if one
      of these routes is missing. :(
      
      Actually, this should not be necessary because the ASoC core normally
      automatically links AIF<->DAI within snd_soc_dapm_link_dai_widgets().
      This is done using the "stname" parameter of SND_SOC_DAPM_AIF_IN/OUT.
      
      For SND_SOC_DAPM_AIF_IN("MM_DL1", "MultiMedia1 Playback", 0, 0, 0, 0),
      it should create the route from above: MM_DL1 <-> MultiMedia1 Playback.
      
      This does not work at the moment because the AIF widget (MM_DL1)
      and the DAI widget (MultiMedia1 Playback) belong to different
      DAPM contexts (q6routing / q6asm-dai).
      
      Fix this by declaring the AIF widgets in the same driver as the DAIs
      (q6asm-dai). Now the routes above are created automatically
      and no longer need to be specified in the device tree.
      
      This is also more consistent with the back-end AIFs which are already
      declared in q6afe-dais instead of q6routing. q6routing should only link
      the components together using mixers.
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Fixes: 2a9e92d3 ("ASoC: qdsp6: q6asm: Add q6asm dai driver")
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Link: https://lore.kernel.org/r/20201211203255.148246-1-stephan@gerhold.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      6fd8d2d2
    • Dan Carpenter's avatar
      ASoC: cs42l56: fix up error handling in probe · 856fe64d
      Dan Carpenter authored
      There are two issues with this code.  The first error path forgot to set
      the error code and instead returns success.  The second error path
      doesn't clean up.
      
      Fixes: 272b5edd ("ASoC: Add support for CS42L56 CODEC")
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Link: https://lore.kernel.org/r/X9NE/9nK9/TuxuL+@mwandaSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      856fe64d
  2. 12 Jan, 2021 8 commits
  3. 11 Jan, 2021 11 commits
  4. 08 Jan, 2021 3 commits
  5. 07 Jan, 2021 2 commits
  6. 06 Jan, 2021 1 commit
  7. 05 Jan, 2021 2 commits
  8. 04 Jan, 2021 2 commits
  9. 31 Dec, 2020 3 commits
  10. 30 Dec, 2020 1 commit
  11. 29 Dec, 2020 5 commits