1. 31 5月, 2010 6 次提交
  2. 12 5月, 2010 1 次提交
  3. 10 5月, 2010 1 次提交
  4. 03 5月, 2010 2 次提交
  5. 20 4月, 2010 1 次提交
  6. 17 4月, 2010 1 次提交
    • M
      ASoC: Add indirection for CODEC private data · b2c812e2
      Mark Brown 提交于
      One of the features of the multi CODEC work is that it embeds a struct
      device in the CODEC to provide diagnostics via a sysfs class rather than
      via the device tree, at which point it's much better to use the struct
      device private data rather than having two places to store it. Provide
      an accessor function to allow this change to be made more easily, and
      update all the CODEC drivers are updated.
      
      To ensure use of the accessor the private data structure member is
      renamed, meaning that if code developed with older an older core that
      still uses private_data is merged it will fail to build.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      b2c812e2
  7. 23 3月, 2010 1 次提交
    • P
      ASoC: TWL4030: PM fix for output amplifiers · c96907f2
      Peter Ujfalusi 提交于
      Gain controls on outputs affect the power consumption
      when the gain is set to non 0 value.
      
      Outputs with amps have one register to configure the
      routing and the gain:
      PREDL_CTL (0x25):
      bit 0: Voice enable
      bit 1: Audio L1 enable
      bit 2: Audio L2 enable
      bit 3: Audio R2 enable
      bit 4-5: Gain (0x0 - power down, 0x1 - 6dB, 0x2 - 0dB, 0x3 - -6dB)
      
      bit 0 - 3: is handled in DAPM domain (DAPM_MIXER)
      bit 4 - 5: has simple volume control
      
      If there is no audio activity (BIAS_STANDBY), and
      user changes the volume, than the output amplifier will
      be enabled.
      If the user changes the routing (but the codec remains in
      BIAS_STANDBY), than the cached gain value also be written
      to the register, which enables the amplifier.
      
      The existing workaround for this is to have virtual
      PGAs associated with the outputs, and whit DAPM PMD
      the gain on the output will be forced to 0 (off) by
      bypassing the regcache.
      This failed to disable the amplifiers in several
      scenario (as mentioned above).
      
      Also if the codec is in BIAS_ON state, and user modifies
      a volume control, which path is actually not enabled, than
      that amplifier will be enabled as well, but it will
      be not turned off, since there is no DAPM path, which
      would make mute it.
      
      To prevent amps being enabled, when they are not
      needed, introduce the following workaround:
      Track the state of each of this type of output.
      In twl4030_write only allow actual write, when the
      given output is enabled, otherwise only update
      the reg_cache.
      The PGA event handlers on power up will write the cached
      value to the chip (restoring gain, routing selection).
      On power down 0 is written to the register (disabling
      the amp, and also just in case clearing the routing).
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c96907f2
  8. 17 2月, 2010 1 次提交
  9. 10 2月, 2010 1 次提交
  10. 04 2月, 2010 1 次提交
  11. 28 1月, 2010 1 次提交
  12. 13 1月, 2010 1 次提交
  13. 14 12月, 2009 2 次提交
  14. 13 11月, 2009 1 次提交
  15. 10 11月, 2009 1 次提交
  16. 04 11月, 2009 1 次提交
  17. 03 11月, 2009 1 次提交
  18. 29 10月, 2009 3 次提交
  19. 28 10月, 2009 2 次提交
  20. 26 10月, 2009 1 次提交
  21. 19 10月, 2009 1 次提交
  22. 15 8月, 2009 1 次提交
  23. 13 8月, 2009 1 次提交
  24. 03 7月, 2009 1 次提交
  25. 02 7月, 2009 1 次提交
  26. 26 6月, 2009 1 次提交
  27. 23 6月, 2009 2 次提交
  28. 22 6月, 2009 1 次提交
  29. 20 6月, 2009 1 次提交