1. 12 12月, 2013 2 次提交
    • S
      ASoC: tegra: convert to standard DMA DT bindings · 5608bd3e
      Stephen Warren 提交于
      By passing no flags when calling snd_dmaengine_pcm_register() from
      tegra_pcm.c, we end up using dma_request_slave_channel() rather than
      dmaengine_pcm_compat_request_channel(), and hence rely on the standard
      DMA DT bindings and stashing the DMA slave ID away during channel
      allocation. This means there's no need to use a custom DT property to
      store the slave ID. So, remove all the code that parsed it.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NMark Brown <broonie@linaro.org>
      5608bd3e
    • S
      ASoC: tegra: allocate AHUB FIFO during probe() not startup() · d59afb6a
      Stephen Warren 提交于
      The Tegra30 I2S driver currently allocates DMA FIFOs from the AHUB only
      when an audio stream starts playback. This is theoretically nice for
      resource sharing, but makes no practical difference for any configuration
      the drivers currently support. However, this deferral prevents conversion
      to the standard DMA DT bindings, since conversion requires knowledge of
      the specific DMA channel to be allocated, which in turn depends on which
      specific FIFO was allocated.
      
      For this reason, move the FIFO allocation into probe() to allow later
      conversion to the standard DMA DT bindings.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NMark Brown <broonie@linaro.org>
      d59afb6a
  2. 14 10月, 2013 2 次提交
  3. 15 8月, 2013 1 次提交
    • S
      ASoC: tegra: fix Tegra30 I2S capture parameter setup · c90c0d7a
      Stephen Warren 提交于
      The Tegra30 I2S driver was writing the AHUB interface parameters to the
      playback path register rather than the capture path register. This
      caused the capture parameters not to be configured at all, so if
      capturing using non-HW-default parameters (e.g. 16-bit stereo rather
      than 8-bit mono) the audio would be corrupted.
      
      With this fixed, audio capture from an analog microphone works correctly
      on the Cardhu board.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      c90c0d7a
  4. 05 6月, 2013 1 次提交
  5. 04 6月, 2013 1 次提交
  6. 04 4月, 2013 1 次提交
  7. 27 3月, 2013 1 次提交
  8. 24 1月, 2013 1 次提交
  9. 09 12月, 2012 1 次提交
  10. 20 11月, 2012 1 次提交
  11. 13 6月, 2012 1 次提交
  12. 08 6月, 2012 3 次提交
  13. 13 4月, 2012 1 次提交