1. 23 4月, 2014 2 次提交
  2. 26 3月, 2014 2 次提交
  3. 19 3月, 2014 1 次提交
    • N
      ASoC: simple-card: overwrite cpu_dai->fmt with codec_dai->fmt · 46c39cae
      Nicolin Chen 提交于
      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: NNicolin Chen <Guangyu.Chen@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      46c39cae
  4. 18 3月, 2014 1 次提交
  5. 15 3月, 2014 1 次提交
  6. 10 3月, 2014 1 次提交
  7. 05 3月, 2014 1 次提交
  8. 28 2月, 2014 1 次提交
    • K
      ASoC: simple-card: cpu_dai_name creates confusion when DT case · f687d900
      Kuninori Morimoto 提交于
      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: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      f687d900
  9. 23 2月, 2014 1 次提交
  10. 10 2月, 2014 1 次提交
  11. 03 2月, 2014 11 次提交
  12. 15 1月, 2014 1 次提交
  13. 14 1月, 2014 1 次提交
  14. 10 1月, 2014 2 次提交
  15. 07 1月, 2014 2 次提交
  16. 06 1月, 2014 1 次提交
  17. 01 1月, 2014 1 次提交
  18. 31 12月, 2013 2 次提交
  19. 21 12月, 2013 1 次提交
  20. 19 12月, 2013 1 次提交
  21. 02 12月, 2013 1 次提交
  22. 21 10月, 2013 1 次提交
  23. 24 8月, 2013 1 次提交
  24. 14 1月, 2013 1 次提交
    • K
      ASoC: simple-card: add asoc_simple_dai for initializing · a4a2992c
      Kuninori Morimoto 提交于
      Current simple-card driver calls asoc_simple_card_dai_init()
      if platform had a asoc_simple_card_dai_init pointer.
      And, this initialization function works only
      when platform has an applicable initial value for each dai settings.
      And basically, almost all sound card requires certain initialization.
      This means that almost all platform has initialization settings,
      and driver do nothing if it doesn't have settings.
      
      And additionally, current simple-card supports sysclk settings but it was
      only for codec.  In order to abolish deviation between cpu and codec,
      and in order to simplify processing,
      this patch adds asoc_simple_dai, and removed pointless
      struct asoc_simple_dai_init_info which was trigger of
      calling asoc_simple_card_dai_init().
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      a4a2992c
  25. 28 12月, 2012 1 次提交