1. 10 3月, 2014 2 次提交
    • L
      ASoC: Pass CODEC to snd_soc_register_dais() · 6cc240f3
      Lars-Peter Clausen 提交于
      snd_soc_register_dais() looks up the CODEC that is registering the DAIs by
      looping over all registered CODECs. This patch updates the code to
      simply pass the CODEC that registers the DAIs to snd_soc_register_dais() thus
      avoiding the lookup.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6cc240f3
    • L
      ASoC: Consolidate snd_soc_register_dai() and snd_soc_register_dais() · 32c9ba54
      Lars-Peter Clausen 提交于
      snd_soc_register_dais() has basically the same code as snd_soc_register_dai(),
      but running in a loop. The only difference is that snd_soc_register_dai() calls
      fmt_single_name() to generate the DAIs name and snd_soc_register_dais() calls
      fmt_multiple_name(). This patch pushes the check in __snd_soc_register_component()
      which decides whether to call snd_soc_register_dai() or snd_soc_register_dais()
      to snd_soc_register_dais() to decide which naming scheme to use. This allows us
      to remove snd_soc_register_dai().
      
      The patch also updates snd_soc_register_dais() to unregister every DAI it finds
      for the component rather than trying to unregister one DAI for each DAI that was
      registered. Both have the same result since there won't be more DAIs than what
      have been registered, but the former is easier to implement.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      32c9ba54
  2. 06 3月, 2014 3 次提交
  3. 04 3月, 2014 1 次提交
  4. 24 1月, 2014 1 次提交
  5. 16 1月, 2014 1 次提交
  6. 08 1月, 2014 1 次提交
  7. 01 1月, 2014 1 次提交
  8. 29 11月, 2013 1 次提交
  9. 05 11月, 2013 1 次提交
    • N
      ASoC: Add pinctrl PM to components of active DAIs · 988e8cc4
      Nicolin Chen 提交于
      It's quite popular that more drivers are using pinctrl PM, for example:
      (Documentation/devicetree/bindings/arm/primecell.txt). Just like what
      runtime PM does, it would deactivate and activate pin group depending
      on whether it's being used or not.
      
      And this pinctrl PM might be also beneficial to cpu dai drivers because
      they might have actual pinctrl so as to sleep their pins and wake them
      up as needed.
      
      To achieve this goal, this patch sets pins to the default state during
      resume or startup; While during suspend and shutdown, it would set pins
      to the sleep state.
      
      As pinctrl PM would return zero if there is no such pinctrl sleep state
      settings, this patch would not break current ASoC subsystem directly.
      
      [ However, there is still an exception that the patch can not handle,
      that is, when cpu dai driver does not have pinctrl property but another
      device has it. (The AUDMUX <-> SSI on Freescale i.MX6 series for example.
      SSI as a cpu dai doesn't contain pinctrl property while AUDMUX, an Audio
      Multiplexer, has it). In this case, this kind of cpu dai driver needs to
      find a way to obtain the pinctrl property as its own, by moving property
      from AUDMUX to SSI, or creating a pins link/dependency between these two
      devices, or using a more decent way after we figure it out. ]
      Signed-off-by: NNicolin Chen <b42378@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      988e8cc4
  10. 01 11月, 2013 1 次提交
  11. 18 10月, 2013 1 次提交
  12. 17 9月, 2013 8 次提交
  13. 14 9月, 2013 1 次提交
  14. 27 8月, 2013 3 次提交
  15. 20 8月, 2013 1 次提交
  16. 11 8月, 2013 2 次提交
  17. 10 8月, 2013 1 次提交
  18. 06 8月, 2013 1 次提交
  19. 29 7月, 2013 1 次提交
  20. 22 7月, 2013 1 次提交
  21. 21 7月, 2013 1 次提交
  22. 29 6月, 2013 1 次提交
  23. 27 6月, 2013 1 次提交
  24. 14 5月, 2013 2 次提交
  25. 13 5月, 2013 1 次提交
  26. 17 4月, 2013 1 次提交