1. 04 Mar, 2020 1 commit
    • YueHaibing's avatar
      ASoc: amd: acp3x: Add missing include <linux/io.h> · 14beaccc
      YueHaibing authored
      gcc 7.4.0 build fails:
      
      In file included from sound/soc/amd/acp3x-rt5682-max9836.c:20:0:
      sound/soc/amd/raven/acp3x.h: In function rv_readl:
      sound/soc/amd/raven/acp3x.h:113:9: error: implicit declaration of function readl; did you mean rv_readl? [-Werror=implicit-function-declaration]
        return readl(base_addr - ACP3x_PHY_BASE_ADDRESS);
               ^~~~~
               rv_readl
      sound/soc/amd/raven/acp3x.h: In function rv_writel:
      sound/soc/amd/raven/acp3x.h:118:2: error: implicit declaration of function writel; did you mean rv_writel? [-Werror=implicit-function-declaration]
        writel(val, base_addr - ACP3x_PHY_BASE_ADDRESS);
        ^~~~~~
        rv_writel
      
      Add <linux/io.h> to fix this.
      
      Fixes: 6b8e4e7d ("ASoC: amd: Add machine driver for Raven based platform")
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Message-Id: <20200304084057.44764-1-yuehaibing@huawei.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      14beaccc
  2. 03 Mar, 2020 2 commits
  3. 02 Mar, 2020 10 commits
  4. 28 Feb, 2020 7 commits
  5. 26 Feb, 2020 16 commits
  6. 25 Feb, 2020 1 commit
  7. 24 Feb, 2020 3 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