1. 09 4月, 2015 1 次提交
  2. 25 3月, 2015 1 次提交
  3. 09 3月, 2015 2 次提交
  4. 08 2月, 2015 1 次提交
  5. 03 2月, 2015 1 次提交
  6. 15 1月, 2015 1 次提交
  7. 09 1月, 2015 1 次提交
  8. 08 1月, 2015 1 次提交
  9. 22 12月, 2014 1 次提交
    • L
      ASoC: dapm: Simplify fully route card handling · 86d75003
      Lars-Peter Clausen 提交于
      For legacy reasons the ASoC framework assumes that a CODEC INPUT or OUTPUT
      widget that is not explicitly connected to a external source or sink is
      potentially connected to a source or a sink and hence the framework treats
      the widget itself as source (for INPUT) or sink (for OUTPUT). For this
      reason a INPUT or OUTPUT widget that is really not connected needs to be
      explicitly marked as so.
      
      Setting the card's fully_routed flag will cause the ASoC core, once that all
      widgets and routes have been registered, to go through the list of all
      widgets and mark all INPUT and OUTPUT that are not externally connected as
      non-connected. This essentially negates the default behaviour of treating
      INPUT or OUTPUT widgets without external routes as sources or sinks.
      
      This patch takes a different approach while getting the same result. Instead
      of first marking INPUT and OUTPUT widgets as sinks/sources and then later
      marking them as non-connected, just never mark them as a sink or a source if
      the fully_routed flag is set on a card.
      
      This requires a lot less code and also results in a slightly faster card
      initialization since there is no need to iterate over all widgets and check
      whether the INPUT and OUTPUT widgets are connected or not.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      86d75003
  10. 19 12月, 2014 1 次提交
  11. 05 12月, 2014 1 次提交
  12. 26 11月, 2014 1 次提交
  13. 25 11月, 2014 1 次提交
  14. 19 11月, 2014 1 次提交
  15. 18 11月, 2014 5 次提交
  16. 11 11月, 2014 1 次提交
  17. 09 11月, 2014 1 次提交
  18. 04 11月, 2014 2 次提交
  19. 03 11月, 2014 2 次提交
  20. 30 10月, 2014 1 次提交
    • L
      ASoC: Fix snd_soc_find_dai() matching component by name · 1ffae361
      Lars-Peter Clausen 提交于
      Commit 14621c7e ("ASoC: Consolidate CPU and CODEC DAI lookup")
      consolidated the lookup of CPU DAIs and CODEC DAIs into a single function.
      When matching a component by name for CODEC DAIs the code previous to the
      patch compared the name in the DAI link table with component->name. For CPU
      DAIs the code compared to dev_name(component->dev). The newly introduced
      function ended up using the later as well.
      
      For most components dev_name(component->dev) and component->name are the
      same. The main notable exception are I2C devices where the driver name and
      the device name are concatenated to form the component name. By using
      dev_name(component->dev) instead of component->name the patch broke the
      matching of I2C CODECs by name.
      
      This patch restores the original behavior by using component->name instead
      of dev_name(component->dev). This will be safe even for CPU DAIs since for
      CPU DAIs both are the same.
      
      Fixes: 14621c7e ("ASoC: Consolidate CPU and CODEC DAI lookup")
      Reported-by: NDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      1ffae361
  21. 29 10月, 2014 1 次提交
  22. 28 10月, 2014 2 次提交
  23. 22 10月, 2014 1 次提交
  24. 20 10月, 2014 1 次提交
  25. 07 10月, 2014 1 次提交
  26. 30 9月, 2014 1 次提交
  27. 28 9月, 2014 1 次提交
  28. 24 9月, 2014 1 次提交
  29. 23 9月, 2014 2 次提交
  30. 06 9月, 2014 1 次提交
  31. 05 9月, 2014 1 次提交
    • L
      ASoC: Always run default suspend/resume code · a8093297
      Lars-Peter Clausen 提交于
      We do a bit more than just running the callbacks during suspend and resume
      these days (e.g. call regcache_mark_dirty() during suspend). But this is
      only when suspend and resume callbacks are specified for the driver,
      otherwise nothing is done. This means that drivers which don't want to do
      anything special during suspend and resume, but still want the standard
      operations to run, need to provide empty suspend and resume callback
      functions (rather than no callbacks). This patch updates the suspend and
      resume code to always run standard sequence regardless of whether suspend
      and resume handlers are provided.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      a8093297