1. 05 Feb, 2016 1 commit
  2. 04 Feb, 2016 1 commit
    • Nicolin Chen's avatar
      ASoC: fsl-asoc-card: Don't add DAPM routes for ASRC if it doesn't exist · 089dfaf7
      Nicolin Chen authored
      There are a pair of warnings when ASRC is absent in the DTB:
        fsl-asoc-card sound: ASoC: no source widget found for ASRC-Playback
        fsl-asoc-card sound: ASoC: Failed to add route ASRC-Playback -> direct -> CPU-Playback
        fsl-asoc-card sound: ASoC: no sink widget found for ASRC-Capture
        fsl-asoc-card sound: ASoC: Failed to add route CPU-Capture -> direct -> ASRC-Capture
      
      This is because the driver is still trying to add DAPM routes for ASRC
      even if it doesn't exist on that platform.
      
      The warnings are harmless but it might be annoying. So this patch drops
      the DAPM routes of ASRC when it's absent in the DAI link.
      Signed-off-by: default avatarNicolin Chen <nicolinc@nvidia.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      089dfaf7
  3. 24 Jan, 2016 38 commits