1. 25 11月, 2015 1 次提交
  2. 21 11月, 2015 1 次提交
  3. 19 11月, 2015 2 次提交
    • 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
    • M
      ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() · 5015920a
      Mengdong Lin 提交于
      Vendor drivers no longer access a DAI link's runtime by the link index
      but by matching the link name via snd_soc_get_pcm_runtime(). We assume
      each DAI link has a unique name.
      
      This is preparation for changing runtimes from an array to a list later.
      
      Vendor drivers changed:
      sound/soc/fsl/fsl-asoc-card.c
      sound/soc/fsl/imx-wm8962.c
      sound/soc/pxa/mioa701_wm9713.c
      sound/soc/samsung/bells.c
      sound/soc/samsung/littlemill.c
      sound/soc/samsung/odroidx2_max98090.c
      sound/soc/samsung/snow.c
      sound/soc/samsung/speyside.c
      sound/soc/samsung/tobermory.c
      sound/soc/tegra/tegra_wm8903
      Signed-off-by: NMengdong Lin <mengdong.lin@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5015920a
  4. 13 11月, 2015 1 次提交
  5. 12 11月, 2015 1 次提交
    • T
      ALSA: hda - Simplify phantom jack handling for HDMI/DP · 909cadc6
      Takashi Iwai 提交于
      The HDMI codec parser may create a phantom jack, but the helper
      function snd_hda_jack_add_kctl() treats always as a normal jack.  This
      is superfluous as the jack query is executed at each time the jack
      sync is performed.
      
      Since the HDMI codec parser is the only caller of this function, it's
      easier to change back this directly calling the original
      __snd_hda_jack_add_kctl() with phantom_jack parameter.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      909cadc6
  6. 11 11月, 2015 2 次提交
  7. 09 11月, 2015 1 次提交
  8. 08 11月, 2015 1 次提交
  9. 07 11月, 2015 1 次提交
  10. 05 11月, 2015 2 次提交
  11. 03 11月, 2015 1 次提交
    • T
      ALSA: hda - Fix lost 4k BDL boundary workaround · de1ab6af
      Takashi Iwai 提交于
      During the migration to HDA core code, we lost the workaround for 4k
      BDL boundary.  The flag exists in the new hdac_bus, but it's never
      set.  This resulted in the sudden sound stall on some controllers that
      require this workaround like Creative Recon3D.
      
      This patch fixes the issue by setting the flag for such controllers
      properly.
      
      Fixes: ccc98865 ('ALSA: hda - Migrate more hdac_stream codes')
      Cc: <stable@vger.kernel.org> # v4.2+
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      de1ab6af
  12. 02 11月, 2015 2 次提交
  13. 31 10月, 2015 3 次提交
  14. 30 10月, 2015 2 次提交
  15. 28 10月, 2015 3 次提交
  16. 27 10月, 2015 2 次提交
  17. 26 10月, 2015 3 次提交
  18. 24 10月, 2015 11 次提交