1. 03 Mar, 2020 2 commits
  2. 02 Mar, 2020 10 commits
  3. 28 Feb, 2020 7 commits
  4. 26 Feb, 2020 16 commits
  5. 25 Feb, 2020 1 commit
  6. 24 Feb, 2020 4 commits
    • Mark Brown's avatar
      Merge branch 'for-5.6' of... · 6c8beff7
      Mark Brown authored
      Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
      6c8beff7
    • Mark Brown's avatar
      ASoC: soc-pcm cleanup step4 · 6bff73c6
      Mark Brown authored
      Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      Hi Mark
      
      These are soc-pcm cleanup step4.
      
      [01/13] - [06/13] are posted but not yet accepted patches.
      To avoid conflict, I merged these into step4.
      These patches are already received Reviewed-by from Pierre-Louis.
      
      	Subject: [PATCH 0/6] ASoC: use for_each_rtd_codec_dai() macro
      	Date: Thu, 13 Feb 2020 13:08:07 +0900
      
      Kuninori Morimoto (13):
         1) ASoC: soundwaire: qcom: use for_each_rtd_codec_dai() macro
         2) ASoC: qcom: sdm845: use for_each_rtd_codec_dai() macro
         3) ASoC: qcom: apq8016_sbc: use for_each_rtd_codec_dai() macro
         4) ASoC: intel: cml_rt1011_rt5682: use for_each_rtd_codec_dai() macro
         5) ASoC: intel: kbl_da7219_max98927: use for_each_rtd_codec_dai() macro
         6) ASoC: mediatek: mt8183-da7219-max98357: use for_each_rtd_codec_dai() macro
         7) ASoC: soc-pcm: add snd_soc_dai_get_pcm_stream()
         8) ASoC: soc-pcm: cleanup soc_pcm_apply_msb()
         9) ASoC: soc-pcm: add snd_soc_dai_get_widget()
        10) ASoC: soc-pcm: merge dpcm_run_new/old_update() into dpcm_fe_runtime_update()
        11) ASoC: soc-pcm: move dpcm_path_put() to soc-pcm.c
        12) ASoC: soc-pcm: move CONFIG_DEBUG_FS functions to top side
        13) ASoC: soc-pcm: add dpcm_create/remove_debugfs_state()
      
       drivers/soundwire/qcom.c                      |   7 +-
       include/sound/soc-dai.h                       |  15 +
       include/sound/soc-dapm.h                      |   1 +
       include/sound/soc-dpcm.h                      |   7 +-
       sound/soc/intel/boards/cml_rt1011_rt5682.c    |   3 +-
       sound/soc/intel/boards/kbl_da7219_max98927.c  |   8 +-
       sound/soc/intel/skylake/skl-pcm.c             |  10 +-
       .../mediatek/mt8183/mt8183-da7219-max98357.c  |   8 +-
       sound/soc/qcom/apq8016_sbc.c                  |   7 +-
       sound/soc/qcom/sdm845.c                       |  20 +-
       sound/soc/soc-dai.c                           |   7 +-
       sound/soc/soc-dapm.c                          |  20 +-
       sound/soc/soc-pcm.c                           | 462 ++++++++----------
       13 files changed, 266 insertions(+), 309 deletions(-)
      
      --
      2.17.1
      
      Thank you for your help !!
      Best regards
      ---
      Kuninori Morimoto
      6bff73c6
    • Kai Vehmanen's avatar
      ASoC: soc-pcm: fix state tracking error in snd_soc_component_open/close() · d2aaa8d8
      Kai Vehmanen authored
      ASoC component open/close and snd_soc_component_module_get/put are called
      independently for each component-substream pair, so the logic added in
      commit dd03907b ("ASoC: soc-pcm: call snd_soc_component_open/close()
      once") was not sufficient and led to PCM playback and module unload errors.
      
      Implement handling of failures directly in soc_pcm_components_open(),
      so that any successfully opened components are closed upon error with
      other components. This allows to clean up error handling in
      soc_pcm_open() without adding more state tracking.
      
      Fixes: dd03907b ("ASoC: soc-pcm: call snd_soc_component_open/close() once")
      Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Tested-by: default avatarDmitry Osipenko <digetx@gmail.com>
      Link: https://lore.kernel.org/r/20200220094955.16968-1-kai.vehmanen@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d2aaa8d8
    • Kuninori Morimoto's avatar
      ASoC: soc-pcm: add dpcm_create/remove_debugfs_state() · 154dae87
      Kuninori Morimoto authored
      soc-pcm.c has implementation which depends on CONFIG_DEBUG_FS.
      But, we don't want to have random #ifdef.
      This patch adds dpcm_create/remove_debugfs_state() and care it.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/877e0jjc9b.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      154dae87