1. 10 2月, 2010 1 次提交
  2. 16 1月, 2010 1 次提交
  3. 07 12月, 2009 1 次提交
  4. 04 11月, 2009 1 次提交
  5. 29 10月, 2009 1 次提交
  6. 15 10月, 2009 1 次提交
  7. 06 8月, 2009 1 次提交
    • D
      ALSA: ASoC: cs4270: move power management hooks to snd_soc_codec_device · 15b5bdae
      Daniel Mack 提交于
      Power management for the cs4270 codec is currently implemented as part
      of the i2c_driver struct. The disadvantage of doing it this way is that
      the callbacks registered in the snd_soc_card struct are called _before_
      the codec's callbacks.
      
      That doesn't work, because the snd_soc_card callbacks will most likely
      switch down the codec's power domains or pull the reset GPIOs, and
      hence make the i2c communication bail out.
      
      Fix this by binding the suspend and resume code to the
      snd_soc_codec_device driver model and let the I2C functions only call
      the SoC core function for resume and suspend, which do nothing currently
      but will do later.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Timur Tabi <timur@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      15b5bdae
  8. 07 5月, 2009 1 次提交
  9. 06 5月, 2009 1 次提交
  10. 28 4月, 2009 2 次提交
  11. 12 3月, 2009 1 次提交
  12. 09 3月, 2009 1 次提交
  13. 05 3月, 2009 1 次提交
  14. 02 3月, 2009 1 次提交
  15. 01 3月, 2009 1 次提交
  16. 13 2月, 2009 1 次提交
    • T
      ASoC: add additional controls to the CS4270 codec driver · d5e9ba1d
      Timur Tabi 提交于
      Update the CS4270 codec driver to allow applications to use the mixer to
      control Digital Loopback, Soft Ramp, Zero Cross, Popguard, and Auto-Mute.
      Soft Ramp, Zero Cross, and Auto-Mute are disabled by the driver when it first
      initializes the hardware, but these features either don't work or interfere
      with normal ALSA behavior.  However, they can now be re-enabled by an
      application if desired.
      
      Remove CONFIG_SND_SOC_CS4270_HWMUTE and always allow ASoC to control the mute
      bits.  The driver previously and erroneously assumed that these bits
      control only external muting circuitry, but they also control internal
      muting circuitry, so they should always be used.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d5e9ba1d
  17. 03 2月, 2009 2 次提交
  18. 31 1月, 2009 1 次提交
  19. 30 1月, 2009 1 次提交
    • T
      ASoC: fix initialization order of the CS4270 codec driver · 04eb093c
      Timur Tabi 提交于
      ASoC codec drivers typically serve two masters: the I2C bus and ASoC itself.
      When a codec driver registers with ASoC, a probe function is called.  Most
      codec drivers call ASoC first, and then register with the I2C bus in the ASoC
      probe function.
      
      However, in order to support multiple codecs on one board, it's easier if the
      codec driver is probed via the I2C bus first.  This is because the call to
      i2c_add_driver() can result in the I2C probe function being called multiple
      times - once for each codec.  In the current design, the driver registers
      once with ASoC, and in the ASoC probe function, it calls i2c_add_driver().
      The results in the I2C probe function being called multiple times before the
      driver can register with ASoC again.
      
      The new design has the driver call i2c_add_driver() first.  In the I2C probe
      function, the driver registers with ASoC.  This allows the ASoC probe function
      to be called once per I2C device.
      
      Also add code to check if the I2C probe function is called more than once,
      since that is not supported with the current ASoC design.
      Signed-off-by: NTimur Tabi <timur@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      04eb093c
  20. 27 1月, 2009 1 次提交
  21. 24 1月, 2009 1 次提交
  22. 23 1月, 2009 2 次提交
  23. 10 12月, 2008 1 次提交
  24. 09 12月, 2008 1 次提交
    • M
      ASoC: Register non-AC97 codec DAIs · 64089b84
      Mark Brown 提交于
      Currently this is done at module probe time since ASoC ties in codec
      device probe to the instantiation of the entire ASoC device. Subsequent
      patches will refactor the codec drivers to handle probing separately.
      Note that the core does not yet use this information.
      
      AC97 is special since the codec is controlled over the AC97 link but
      we want to give the machine driver a chance to set up the system before
      trying to instantiate since it may need to do configuration before the
      AC97 link will operate
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      64089b84
  25. 02 12月, 2008 1 次提交
  26. 21 11月, 2008 1 次提交
    • M
      ASoC: Merge snd_soc_ops into snd_soc_dai_ops · dee89c4d
      Mark Brown 提交于
      Liam Girdwood's ASoC v2 work avoids having two different ops structures
      for DAIs by merging the members of struct snd_soc_ops into struct
      snd_soc_dai_ops, allowing per DAI configuration for everything.
      Backport this change.
      
      This paves the way for future work allowing any combination of DAIs to
      be connected rather than having fixed purpose CODEC and CPU DAIs and
      only allowing CODEC<->CPU interconnections.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      dee89c4d
  27. 30 10月, 2008 1 次提交
  28. 30 9月, 2008 1 次提交
  29. 29 9月, 2008 2 次提交
  30. 10 7月, 2008 1 次提交
  31. 24 4月, 2008 1 次提交
  32. 01 2月, 2008 2 次提交
  33. 28 1月, 2008 1 次提交
  34. 21 11月, 2007 1 次提交
  35. 16 10月, 2007 1 次提交