1. 25 11月, 2015 1 次提交
  2. 19 11月, 2015 1 次提交
    • M
      ASoC: Change the PCM runtime array to a list · 1a497983
      Mengdong Lin 提交于
      Currently the number of DAI links is statically defined by the machine
      driver at build time using an array. This makes it difficult to shrink/
      grow the number of DAI links at runtime in order to reflect any changes
      in topology.
      
      We can change the DAI link array in the core to a list so that PCMs and
      FE DAI links can be added and deleted at runtime to reflect changes in
      use case and DSP topology. The machine driver can still register DAI links
      as an array.
      
      As the 1st step, this patch change the PCM runtime array to a list. A new
      PCM runtime is added to the list when a DAI link is bound successfully.
      
      Later patches will further implement the DAI link list.
      
      More:
      - define snd_soc_new/free_pcm_runtime() to create/free a runtime.
      - define soc_add_pcm_runtime() to add a runtime to the rtd list.
      - define soc_remove_pcm_runtimes() to clean up the runtime list.
      
      - traverse the rtd list to probe the link components and dais.
      
      - Add a field "num" to PCM runtime struct, used to specify the device
        number when creating the pcm device, and for a soc card to access
        its dai_props array.
      
      - The following 3rd party machine/platform drivers iterate the rtd list
        to check the runtimes:
        sound/soc/intel/atom/sst-mfld-platform-pcm.c
        sound/soc/intel/boards/cht_bsw_rt5645.c
        sound/soc/intel/boards/cht_bsw_rt5672.c
        sound/soc/intel/boards/cht_bsw_max98090_ti.c
      Signed-off-by: NMengdong Lin <mengdong.lin@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      1a497983
  3. 22 10月, 2015 9 次提交
  4. 16 10月, 2015 1 次提交
  5. 14 10月, 2015 1 次提交
    • K
      ASoC: rsnd: Announce for removing Gen1 SRU support · 43624957
      Kuninori Morimoto 提交于
      Gen1 SRU support was created for preparation of Gen2 SRC support,
      but no-one is using this feature (sampling rate convert) on Gen1.
      BockW had used SRU before, but it was pass through mode.
      This means it is same as SSI. And BockW "platform base" code was
      removed from upstream code. It is now supported via DT, but it doesn't
      use SRU. More detail, r8a7778.dtsi has "rcar_sound,src" entry, but
      no-one is using this feature today. SRU probing has no relation to this
      removing. This means there is no effect for DT compatibility, no issues
      on upstream kernel.
      
      Gen2 SRC was created from Gen1 SRU, these are similar but not same IP.
      Keeping Gen1 SRU in current driver is a little bit difficult,
      and no-one is using it today. Gen1 sound is still supported via SSI.
      Gen1 SRU support will be removed in the next kernel version.
      This patch announces it.
      Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      43624957
  6. 12 10月, 2015 1 次提交
  7. 07 10月, 2015 1 次提交
  8. 17 9月, 2015 2 次提交
  9. 15 9月, 2015 13 次提交
  10. 30 8月, 2015 1 次提交
  11. 29 8月, 2015 1 次提交
  12. 12 8月, 2015 1 次提交
  13. 29 7月, 2015 1 次提交
  14. 21 7月, 2015 1 次提交
  15. 18 7月, 2015 3 次提交
  16. 17 7月, 2015 2 次提交