1. 15 7月, 2016 1 次提交
    • B
      ASoC: Intel: Fix conflicting pcm dev drvdata on haswell · c999675b
      Ben Zhang 提交于
      soc-core sets the snd_soc_pcm_runtime->dev drvdata to
      snd_soc_pcm_runtime in soc_post_component_init, and access
      it in places like codec_reg_show.
      
      hsw_pcm_open overwrites the drvdata to point to hsw_pcm_data,
      confusing soc-core, and causing crashes when cat
      /sys/devices/pci0000:00/INT3438:00/.../System PCM/codec_reg
      
      This patch removes the set in hsw_pcm_open since it's no longer
      used. commit 7ff9d671 ("ASoC: Intel: Split hsw_pcm_data for
      playback and capture") already removed all calls to
      snd_soc_pcm_get_drvdata(rtd).
      Signed-off-by: NBen Zhang <benzh@chromium.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c999675b
  2. 11 5月, 2016 1 次提交
  3. 09 6月, 2015 1 次提交
  4. 02 6月, 2015 4 次提交
  5. 29 5月, 2015 1 次提交
  6. 28 5月, 2015 1 次提交
  7. 08 4月, 2015 1 次提交
  8. 07 4月, 2015 1 次提交
  9. 28 3月, 2015 1 次提交
  10. 19 3月, 2015 1 次提交
  11. 13 3月, 2015 2 次提交
  12. 11 3月, 2015 1 次提交
  13. 17 2月, 2015 1 次提交
  14. 11 2月, 2015 1 次提交
  15. 06 2月, 2015 1 次提交
    • J
      ASoC: Intel: add a status for runtime suspend/resume · cd311dd1
      Jie Yang 提交于
      For runtime suspend/resume, it is some different with suspend/resume,
      e.g. codec power supply won't be switch off, codec jack detection
      still working(to wake up system from Jack event), won't call call
      snd_soc_suspend/resume, etc.
      
      So here, we add a platform PM status, HSW_PM_STATE_RTD3, to make
      the status more clear, when in idle, it will enter this status, to
      transfer from HSW_PM_STATE_RTD3 to HSW_PM_STATE_D3, we will do those
      extra jobs, and vice versa for resuming.
      Signed-off-by: NJie Yang <yang.jie@intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      cd311dd1
  16. 10 1月, 2015 1 次提交
  17. 09 1月, 2015 1 次提交
  18. 07 1月, 2015 1 次提交
  19. 19 12月, 2014 1 次提交
  20. 28 11月, 2014 2 次提交
  21. 27 11月, 2014 1 次提交
  22. 25 11月, 2014 1 次提交
  23. 04 11月, 2014 2 次提交
  24. 30 10月, 2014 2 次提交
  25. 29 10月, 2014 1 次提交
    • L
      ASoC: Intel: Make ADSP memory block allocation more generic · e9600bc1
      Liam Girdwood 提交于
      Current block allocation is tied to block type and requestor type. Make the
      allocation more generic by removing the struct module parameter and adding
      a generic block allocator structure. Also pass in the list that the blocks
      have to be added too in order to remove dependence on block requestor type.
      
      ASoC: Intel: update scratch allocator to use generic block allocator
      
      Update the scratch allocator to use the generic block allocator and calculate
      total scratch buffer size.
      
      ASoC: Intel: Add call to calculate offsets internally within the DSP.
      
      A call to calculate internal DSP memory addresses used to allocate persistent
      and scartch buffers.
      
      ASoC: Intel: Add runtime module support.
      
      Add support for runtime module objects that can be created for every FW
      module that is parsed from the FW file. This gives a 1:N mapping between
      the FW module from file and the runtime instantiations of that module.
      
      We also need to make sure we remove every module and runtime module when
      we unload the FW.
      
      ASoC: Intel: Add DMA firmware loading support
      
      Add support for DMA to load firmware modules to the DSP memory blocks.
      Two DMA engines are supported, DesignWare and Intel MID.
      
      ASoC: Intel: Add runtime module lookup API call
      
      Add an API to allow quick lookup of runtime modules based on ID.
      
      ASoC: Intel: Provide streams with dynamic module information
      
      Remove the hard coded module paramaters and provide each module with
      dynamically generated buffer information for scratch and persistent
      buffers.
      Signed-off-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      e9600bc1
  26. 20 10月, 2014 3 次提交
  27. 16 10月, 2014 1 次提交
  28. 06 9月, 2014 2 次提交
  29. 15 7月, 2014 1 次提交
  30. 01 6月, 2014 1 次提交