1. 01 4月, 2012 2 次提交
  2. 12 3月, 2012 1 次提交
  3. 07 3月, 2012 3 次提交
  4. 05 3月, 2012 1 次提交
  5. 23 2月, 2012 1 次提交
    • M
      ASoC: dapm: Check for bias level when powering down · 7679e42e
      Mark Brown 提交于
      Recent enhancements in the bias management means that we might not be
      in standby when the CODEC is idle and can have active widgets without
      being in full power mode but the shutdown functionality assumes these
      things. Add checks for the bias level at each stage so that we don't
      do transitions other than the ON->PREPARE->STANDBY->OFF ones that the
      drivers are expecting.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@kernel.org
      7679e42e
  6. 18 2月, 2012 6 次提交
  7. 16 2月, 2012 1 次提交
  8. 15 2月, 2012 2 次提交
  9. 07 2月, 2012 2 次提交
  10. 27 1月, 2012 3 次提交
  11. 22 1月, 2012 1 次提交
  12. 16 1月, 2012 1 次提交
  13. 11 1月, 2012 1 次提交
  14. 08 12月, 2011 1 次提交
  15. 02 12月, 2011 1 次提交
  16. 28 11月, 2011 1 次提交
  17. 24 11月, 2011 1 次提交
    • S
      ASoC: Implement fully_routed card property · 1633281b
      Stephen Warren 提交于
      A card is fully routed if the DAPM route table describes all connections on
      the board.
      
      When a card is fully routed, some operations can be automated by the ASoC
      core. The first, and currently only, such operation is described below, and
      implemented by this patch.
      
      Codecs often have a large number of external pins, and not all of these pins
      will be connected on all board designs. Some machine drivers therefore call
      snd_soc_dapm_nc_pin() for all the unused pins, in order to tell the ASoC core
      never to activate them.
      
      However, when a card is fully routed, the information needed to derive the
      set of unused pins is present in card->dapm_routes. In this case, have
      the ASoC core automatically call snd_soc_dapm_nc_pin() for each unused
      codec pin.
      
      This has been tested with soc/tegra/tegra_wm8903.c and soc/tegra/trimslice.c.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      1633281b
  18. 10 10月, 2011 1 次提交
  19. 09 10月, 2011 2 次提交
  20. 08 10月, 2011 1 次提交
  21. 05 10月, 2011 5 次提交
  22. 04 10月, 2011 2 次提交
    • M
      ASoC: Reduce the number of neigbours we mark dirty when updating power · fe4fda5d
      Mark Brown 提交于
      If two widgets are not currently connected then there is no need to
      propagate a power state change between them as we mark the affected
      widgets when we change a connection. Similarly if a neighbour widget is
      already in the state being set for the current widget then there is no
      need to recheck.
      
      On one system I tested this gave:
      
                 Power    Path   Neighbour
      Before:    114      1066   1327
      After:     106      970    1186
      
      which is an improvement, although relatively small.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      fe4fda5d
    • M
      ASoC: Do DAPM power checks only for widgets changed since last run · db432b41
      Mark Brown 提交于
      In order to reduce the number of DAPM power checks we run keep a list of
      widgets which have been changed since the last DAPM run and iterate over
      that rather than the full widget list. Whenever we change the power state
      for a widget we add all the source and sink widgets it has to the dirty
      list, ensuring that all widgets in the path are checked.
      
      This covers more widgets than we need to as some of the neighbour widgets
      won't be connected but it's simpler as a first step. On one system I tried
      this gave:
      
                 Power    Path   Neighbour
      Before:    207      1939   2461
      After:     114      1066   1327
      
      which seems useful.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      db432b41