1. 17 2月, 2018 1 次提交
  2. 15 8月, 2017 1 次提交
  3. 17 7月, 2017 1 次提交
  4. 29 6月, 2017 1 次提交
  5. 30 4月, 2017 1 次提交
    • J
      ASoC: dwc: Disallow building designware_pcm as a module · c9afc183
      Jose Abreu 提交于
      Designware PCM is an extension to Designware I2S and they are dependent
      on each other. For this reason, make Designware PCM a boolean which will
      compile with Desigwnare I2S module. The name of the module is not changed
      but the name of the files need to be changed.
      
      Also, without this commit we get errors when probbing designware_i2s module
      because of unspecified license:
      
      designware_pcm: module license 'unspecified' taints kernel.
      Disabling lock debugging due to kernel taint
      designware_pcm: Unknown symbol __rcu_read_lock (err 0)
      designware_pcm: Unknown symbol devm_snd_soc_register_platform (err 0)
      designware_pcm: Unknown symbol synchronize_rcu (err 0)
      designware_pcm: Unknown symbol __rcu_read_unlock (err 0)
      designware_pcm: Unknown symbol snd_soc_set_runtime_hwparams (err 0)
      
      So, this is really needed as a fix.
      
      Fixes: 79361b2b ("ASoC: dwc: Add PIO PCM extension")
      Signed-off-by: NLubomir Rintel <lkundrak@v3.sk>
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c9afc183
  6. 09 1月, 2017 1 次提交
  7. 14 12月, 2016 1 次提交
    • J
      ASoC: dwc: Fix PIO mode initialization · 6fce983f
      Jose Abreu 提交于
      We can no longer rely on the return value of
      devm_snd_dmaengine_pcm_register(...) to check if the DMA
      handle is declared in the DT.
      
      Previously this check activated PIO mode but currently
      dma_request_chan returns either a valid channel or -EPROBE_DEFER.
      
      In order to activate PIO mode check instead if the interrupt
      line is declared. This reflects better what is documented in
      the DT bindings (see Documentation/devicetree/bindings/sound/
      designware-i2s.txt).
      
      Also, initialize use_pio variable which was never being set
      causing PIO mode to never work.
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      6fce983f
  8. 08 8月, 2016 1 次提交
    • S
      ASoC: dwc: Drop DMA channel names assignment · 35397ede
      Sylwester Nawrocki 提交于
      The dw_configure_dai_by_dt() function and further dev->{play,capture}
      _dma_data.dt data structures seem to be used in this driver only in case
      of a system using devicetree, thus chan_name assignments have no effect
      since they will be ignored in dmaengine_pcm_request_chan_of() call and
      will be substituted with values taken form dmaengine_pcm_dma_channel_names[]
      table ("tx", "rx").
      
      Also there is no any "TX", "RX" dma-names entries in arch/arm/boot/dts,
      only lower case "tx", "rx" seem to be used.
      
      Lastly, this driver doesn't set SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME
      flag when registering a dmaengine PCM to indicate the chan_name should be
      used.
      
      My intention is to eventually remove the struct snd_dmaengine_dai_dma_data
      chan_name field as there is also a chan_names[] field in struct
      snd_dmaengine_pcm_config which can be used for same purpose.
      Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      35397ede
  9. 26 6月, 2016 1 次提交
  10. 14 6月, 2016 1 次提交
    • J
      ASoC: dwc: Add PIO PCM extension · 79361b2b
      Jose Abreu 提交于
      A PCM extension was added to I2S driver so that audio
      samples are transferred using PIO mode.
      
      The PCM supports two channels @ 16 or 32 bits with rates
      32k, 44.1k and 48k.
      
      Although the mainline I2S driver uses ALSA DMA engine the
      I2S controller can be built without DMA support, therefore
      this is the reason why this extension was added.
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Cc: Carlos Palminha <palminha@synopsys.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: linux-snps-arc@lists.infradead.org
      Cc: alsa-devel@alsa-project.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NMark Brown <broonie@kernel.org>
      79361b2b
  11. 30 5月, 2016 1 次提交
    • J
      ASoC: dwc: Add helper functions to disable/enable irqs · b1d32feb
      Jose Abreu 提交于
      Helper functions to disable and enable the I2S interrupts were
      added. Only the interrupts of the used channels are enabled.
      
      Also, there is no need to enable irqs at dw_i2s_config(), they
      are already enabled at startup.
      Signed-off-by: NJose Abreu <joabreu@synopsys.com>
      Cc: Carlos Palminha <palminha@synopsys.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Jaroslav Kysela <perex@perex.cz>
      Cc: Takashi Iwai <tiwai@suse.com>
      Cc: Rob Herring <robh@kernel.org>
      Cc: Alexey Brodkin <abrodkin@synopsys.com>
      Cc: linux-snps-arc@lists.infradead.org
      Cc: alsa-devel@alsa-project.org
      Cc: devicetree@vger.kernel.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: NMark Brown <broonie@kernel.org>
      b1d32feb
  12. 08 4月, 2016 1 次提交
  13. 06 4月, 2016 1 次提交
  14. 03 2月, 2016 1 次提交
  15. 10 1月, 2016 1 次提交
  16. 08 12月, 2015 3 次提交
  17. 24 10月, 2015 1 次提交
  18. 05 10月, 2015 1 次提交
  19. 03 10月, 2015 1 次提交
    • Y
      ASoC: dwc: fix dma stop transferring issue · 924eb475
      yitian 提交于
      Designware I2S uses tx empty and rx available signals as the DMA
      handshaking signals. during music playing, if XRUN occurs,
      i2s_stop() function will be executed and both tx and rx irq are
      masked, when music continues to be played, i2s_start() is executed
      but both tx and rx irq are not unmasked which cause I2S stop
      sending DMA handshaking signal to DMA controller, and it finally
      causes music playing will be stopped once XRUN occurs for the first
      time.
      
      [On list discussion suggests this may be partly a race condition on slow
      systems -- broonie]
      Signed-off-by: NYitian Bu <yitian.bu@tangramtek.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      924eb475
  20. 02 10月, 2015 1 次提交
  21. 29 1月, 2015 1 次提交
  22. 31 12月, 2014 5 次提交
  23. 22 12月, 2014 4 次提交
  24. 04 12月, 2014 1 次提交
  25. 20 10月, 2014 1 次提交
  26. 09 9月, 2014 1 次提交
  27. 06 9月, 2014 1 次提交
  28. 29 8月, 2013 1 次提交
  29. 12 6月, 2013 2 次提交
  30. 27 3月, 2013 1 次提交