1. 08 Feb, 2009 3 commits
  2. 06 Feb, 2009 6 commits
  3. 04 Feb, 2009 2 commits
  4. 03 Feb, 2009 3 commits
  5. 02 Feb, 2009 4 commits
  6. 31 Jan, 2009 2 commits
  7. 30 Jan, 2009 1 commit
    • Timur Tabi's avatar
      ASoC: fix initialization order of the CS4270 codec driver · 04eb093c
      Timur Tabi authored
      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: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      04eb093c
  8. 29 Jan, 2009 4 commits
    • Peter Ujfalusi's avatar
      ASoC: TWL4030: Add analog loopback support · 7393958f
      Peter Ujfalusi authored
      This patch adds the analog loopback/bypass support for twl4030 codec.
      
      Details for the implementation:
      It seams that the analog loopback needs the DAC powered on on the channel,
      where the loopback is selected. The switch for the DACs has been moved from
      the DAPM_DAC to the "Analog XX Playback Mixer". In this way the DAC will be
      powered while the audio playback is used or/and the loopback is enabled for
      the channel.
      
      The twl4030 codec powering has been reworked. Now the codec will be powered as
      long as it does not receives the SND_SOC_BIAS_OFF event. The exceptions are
      when the given change in the registers needs the codec power down/up cycle in
      order to take effect. Otherwise the codec is on.
      
      When the codec enters to STANDBY state and none of the loopback paths are
      enabled, than the amplifiers, which are no in the DAPM path are forced to turn
      off and the PLL is disabled. When playback/capture starts the disabled gains
      are restored and the PLL is enabled.
      
      When one of the loopback enabled in STANDBY mode, the disabled gains are
      restored and the PLL is enabled also.
      
      In short: the codec always goes to the lowest power state based on the
      bias_level and the bypass_state.
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      7393958f
    • Mark Brown's avatar
      Merge branch 'for-2.6.29' into for-2.6.30 · 0bf5460d
      Mark Brown authored
      0bf5460d
    • Misael Lopez Cruz's avatar
      ASoC: OMAP: Initialize XCCR and RCCR registers in McBSP DAI driver · ef390c0b
      Misael Lopez Cruz authored
      This patch explicitly initializes McBSP Transmit Configuration
      Control Register (XCCR) and Receive Configuration Control
      Register (RCCR) to their reset values. Reset values are 26 ns
      of DX delay and Transmit DMA disabled for XCCR register;
      receive full cycle mode enabled and Receive DMA disabled for
      RCCR register.
      
      This patch requires a counterpart in OMAP McBSP driver before
      to apply it. The required changes in McBSP were sent and approved
      in linux-omap mailing list and patch is going upstream
      (commit 3127f8f8 from linux-omap-2.6
      tree).
      Signed-off-by: default avatarMisael Lopez Cruz <x0052729@ti.com>
      [ jarkko.nikula@nokia.com: Commit id for counterpart patch corrected ]
      Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@nokia.com>
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      ef390c0b
    • Mark Brown's avatar
      ASoC: Fix null string usage with WM8753 DAIs · 9e70c1f0
      Mark Brown authored
      The WM8753 driver multiplexes the DAI structures it exposes to the
      outside world, leaving them uninitialised until the codec probes.  Since
      the DAI name is used during the registration and setup process provide a
      dummy name.
      Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      9e70c1f0
  9. 28 Jan, 2009 1 commit
  10. 27 Jan, 2009 6 commits
  11. 23 Jan, 2009 8 commits