1. 12 9月, 2014 2 次提交
  2. 10 9月, 2014 2 次提交
  3. 09 9月, 2014 1 次提交
  4. 03 9月, 2014 1 次提交
  5. 02 9月, 2014 1 次提交
  6. 29 8月, 2014 4 次提交
  7. 19 8月, 2014 1 次提交
    • X
      ASoC: simple-card: Fix the compile warning. · 8ea21348
      Xiubo Li 提交于
      sound/soc/generic/simple-card.c: In function simple_card_dai_link_of:
      sound/soc/generic/simple-card.c:198:10: warning: passing argument 3 of
      asoc_simple_card_sub_parse_of from incompatible pointer type [enabled by default]
                &dai_link->cpu_dai_name);
                ^
      sound/soc/generic/simple-card.c:112:1: note: expected const struct device_node **
      but argument is of type struct device_node **
       asoc_simple_card_sub_parse_of(struct device_node *np,
       ^
      sound/soc/generic/simple-card.c:229:10: warning: passing argument 3 of
      asoc_simple_card_sub_parse_of from incompatible pointer type [enabled by default]
                &dai_link->codec_dai_name);
                ^
      sound/soc/generic/simple-card.c:112:1: note: expected const struct device_node **
      but argument is of type struct device_node **
       asoc_simple_card_sub_parse_of(struct device_node *np,
       ^
      
      Since the asoc_simple_card_sub_parse_of() is used in simple-card module only,
      and the third argument is just used to get the node ponters address, so there is
      no need it must to be 'const' type.
      Signed-off-by: NXiubo Li <Li.Xiubo@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      8ea21348
  8. 21 6月, 2014 1 次提交
  9. 26 5月, 2014 1 次提交
  10. 25 4月, 2014 1 次提交
  11. 24 4月, 2014 3 次提交
  12. 23 4月, 2014 2 次提交
  13. 26 3月, 2014 2 次提交
  14. 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
  15. 18 3月, 2014 1 次提交
  16. 15 3月, 2014 1 次提交
  17. 10 3月, 2014 1 次提交
  18. 05 3月, 2014 1 次提交
  19. 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
  20. 23 2月, 2014 1 次提交
  21. 10 2月, 2014 1 次提交
  22. 03 2月, 2014 10 次提交