1. 10 4月, 2015 1 次提交
  2. 09 4月, 2015 3 次提交
  3. 02 4月, 2015 1 次提交
  4. 25 3月, 2015 1 次提交
  5. 18 3月, 2015 1 次提交
  6. 09 3月, 2015 2 次提交
  7. 07 3月, 2015 1 次提交
  8. 24 2月, 2015 1 次提交
    • N
      ASoC: core: Add extra dapm properties for Device Tree · f23e860e
      Nicolin Chen 提交于
      The current helper functions, snd_soc_of_parse_audio_simple_widgets()
      and snd_soc_of_parse_audio_routing(), set dapm_widgets and dapm_routes
      without caring if they are already set by using build-in widgets and
      routes in the card driver. So there could be one of them, build-in one
      or Device Tree one, overrided by the other depending on which one was
      assigned later.
      
      This patch adds an extra pair of dapm_widgets and dapm_routes for DT
      use only so as to prevent unexpected overriding.
      Signed-off-by: NNicolin Chen <nicoleotsuka@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      f23e860e
  9. 08 2月, 2015 1 次提交
  10. 03 2月, 2015 1 次提交
  11. 15 1月, 2015 1 次提交
  12. 09 1月, 2015 1 次提交
  13. 08 1月, 2015 1 次提交
  14. 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
  15. 19 12月, 2014 1 次提交
  16. 05 12月, 2014 1 次提交
  17. 26 11月, 2014 1 次提交
  18. 25 11月, 2014 1 次提交
  19. 19 11月, 2014 1 次提交
  20. 18 11月, 2014 5 次提交
  21. 11 11月, 2014 1 次提交
  22. 09 11月, 2014 1 次提交
  23. 04 11月, 2014 2 次提交
  24. 03 11月, 2014 2 次提交
  25. 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
  26. 29 10月, 2014 1 次提交
  27. 28 10月, 2014 2 次提交
  28. 22 10月, 2014 1 次提交
  29. 20 10月, 2014 1 次提交
  30. 07 10月, 2014 1 次提交