1. 25 Mar, 2014 3 commits
  2. 18 Mar, 2014 1 commit
    • Nicolin Chen's avatar
      ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmt · 46c39cae
      Nicolin Chen authored
      The current simple-card driver separates the daimft for cpu_dai and codec_dai.
      So we might get different values for them (0x4003 and 0x1003 for example):
      
      asoc-simple-card sound-cs42888.12: cpu : 2024000.esai / 4003 / 132000000
      asoc-simple-card sound-cs42888.12: codec : cs42888 / 1003 / 24576000
      asoc-simple-card sound-cs42888.12: cs42888 <-> 2024000.esai mapping ok
      
      This is not allowed at all as we need to keep the DAIFMT settings identical
      for both the ends of the link.
      
      Thus this patch fixes it by overwriting the cpu_dai->fmt with codec_dai->fmt
      since we defined the DAIFMT_MASTER basing on CODEC at the first place while
      the other bits are same.
      Signed-off-by: default avatarNicolin Chen <Guangyu.Chen@freescale.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      46c39cae
  3. 17 Mar, 2014 1 commit
  4. 14 Mar, 2014 1 commit
  5. 10 Mar, 2014 1 commit
  6. 05 Mar, 2014 1 commit
  7. 28 Feb, 2014 1 commit
    • Kuninori Morimoto's avatar
      ASoC: simple-card: cpu_dai_name creates confusion when DT case · f687d900
      Kuninori Morimoto authored
      Basically, soc_bind_dai_link() checks
      cpu_dai->dev->of_node and dai_link->cpu_of_node in DT case.
      But after that it will check
      cpu_dai->name and dai_link->cpu_dai_name too.
      
      On the other hand, snd_soc_dai :: name is created by
      fmt_single_name() or fmt_multiple_name().
      
      There is no confusion if dai name is created by fmt_multiple_name(),
      since cpu_dai->name is same as dai_link->cpu_dai_name.
      but, if dai name is created by fmt_single_name(), CPU DAI never match.
      
      Thus, simple-card not set dai_link->cpu_dai_name if DT case
      to skip naming match on soc_bind_dai_link()
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: default avatarMark Brown <broonie@linaro.org>
      f687d900
  8. 23 Feb, 2014 4 commits
  9. 10 Feb, 2014 5 commits
  10. 03 Feb, 2014 15 commits
  11. 02 Feb, 2014 7 commits