1. 21 9月, 2011 1 次提交
    • M
      ASoC: Trace and collect statistics for DAPM graph walking · de02d078
      Mark Brown 提交于
      One of the longest standing areas for improvement in ASoC has been the
      DAPM algorithm - it repeats the same checks many times whenever it is run
      and makes no effort to limit the areas of the graph it checks meaning we
      do an awful lot of walks over the full graph. This has never mattered too
      much as the size of the graph has generally been small in relation to the
      size of the devices supported and the speed of CPUs but it is annoying.
      
      In preparation for work on improving this insert a trace point after the
      graph walk has been done. This gives us specific timing information for
      the walk, and in order to give quantifiable (non-benchmark) numbers also
      count every time we check a link or check the power for a widget and report
      those numbers. Substantial changes in the algorithm may require tweaks to
      the stats but they should be useful for simpler things.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      de02d078
  2. 20 9月, 2011 15 次提交
  3. 19 9月, 2011 1 次提交
  4. 17 9月, 2011 1 次提交
  5. 16 9月, 2011 13 次提交
  6. 14 9月, 2011 2 次提交
  7. 12 9月, 2011 1 次提交
  8. 10 9月, 2011 2 次提交
    • L
      ASoC: ad193x: Setup regmap read and write flag masks for SPI · 30ab1e78
      Lars-Peter Clausen 提交于
      Currently register read-back for the ad193x is broken, because it expects bit 0
      of the upper byte to be set to indicate a read operation, while the regmap
      default for SPI is to use bit 7.
      
      This patch also addresses another oddity of the device. There are SPI and I2C
      versions of this codec. In both cases the registers are 8-bit wide and numbered
      from 0x0 to 0x10, but in the SPI case there is also a so called
      'global address' which is prefixed in-front of the register address. The global
      address mimics I2C behaviour and includes a static device address the and the
      read/write flag. This basically extends the register address to an 16-bit value
      numbered from 0x800 to 0x810. These are the register numbers which are
      currently used by the driver. This works, because I2C will ignore the upper
      8 bits of the register, but it is still a bit confusing, as there are no such
      register numbers in the I2C case.
      
      The approach taken by this patch is to number the registers from 0x00 to 0x10
      and encode the global address for SPI mode into the read and write flag masks.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      30ab1e78
    • A
      ASoC: playpaq_wm8510: Return proper error if clk_get fails · 69474147
      Axel Lin 提交于
      Return proper error instead of 0 if clk_get fails.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      69474147
  9. 09 9月, 2011 4 次提交