1. 06 Mar, 2020 8 commits
  2. 05 Mar, 2020 4 commits
  3. 04 Mar, 2020 4 commits
    • Mark Brown's avatar
      Merge branch 'for-5.6' of... · cc6eb9b5
      Mark Brown authored
      Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
      cc6eb9b5
    • Mark Brown's avatar
      Merge branch 'for-5.6' of... · d98bf889
      Mark Brown authored
      Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
      d98bf889
    • 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
    • Olivier Moysan's avatar
      ASoC: stm32: sai: manage rebind issue · 0d6defc7
      Olivier Moysan authored
      The commit e894efef ("ASoC: core: add support to card rebind")
      allows to rebind the sound card after a rebind of one of its component.
      With this commit, the sound card is actually rebound,
      but may be no more functional. The following problems have been seen
      with STM32 SAI driver.
      
      1) DMA channel is not requested:
      
      With the sound card rebind the simplified call sequence is:
      stm32_sai_sub_probe
      	snd_soc_register_component
      		snd_soc_try_rebind_card
      			snd_soc_instantiate_card
      	devm_snd_dmaengine_pcm_register
      
      The problem occurs because the pcm must be registered,
      before snd_soc_instantiate_card() is called.
      
      Modify SAI driver, to change the call sequence as follows:
      stm32_sai_sub_probe
      	devm_snd_dmaengine_pcm_register
      	snd_soc_register_component
      		snd_soc_try_rebind_card
      
      2) DMA channel is not released:
      
      dma_release_channel() is not called when
      devm_dmaengine_pcm_release() is executed.
      This occurs because SND_DMAENGINE_PCM_DRV_NAME component,
      has already been released through devm_component_release().
      
      devm_dmaengine_pcm_release() should be called before
      devm_component_release() to avoid this problem.
      
      Call snd_dmaengine_pcm_unregister() and snd_soc_unregister_component()
      explicitly from SAI driver, to have the right sequence.
      Signed-off-by: default avatarOlivier Moysan <olivier.moysan@st.com>
      Message-Id: <20200304102406.8093-1-olivier.moysan@st.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      0d6defc7
  4. 03 Mar, 2020 4 commits
  5. 02 Mar, 2020 10 commits
  6. 28 Feb, 2020 7 commits
  7. 26 Feb, 2020 3 commits
    • Mark Brown's avatar
      ASoC: Add Multi CPU DAI support · 8ae7fdc3
      Mark Brown authored
      Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:
      
      As discussed in [1], ASoC core supports multi codec DAIs
      on a DAI link. However it does not do so for CPU DAIs.
      
      So, add support for multi CPU DAIs on a DAI Link by adding
      multi CPU DAI in Card instantiation, suspend and resume
      functions, PCM ops, stream handling functions and DAPM.
      
      [1]: https://www.spinics.net/lists/alsa-devel/msg71369.html
      
      changes in v5:
      - rebase to latest kernel base
      
      Bard Liao (2):
        ASoC: Return error if the function does not support multi-cpu
        ASoC: pcm: check if cpu-dai supports a given stream
      
      Shreyas NC (4):
        ASoC: Add initial support for multiple CPU DAIs
        ASoC: Add multiple CPU DAI support for PCM ops
        ASoC: Add dapm_add_valid_dai_widget helper
        ASoC: Add multiple CPU DAI support in DAPM
      
       include/sound/soc.h                   |  15 +
       sound/soc/soc-compress.c              |   5 +-
       sound/soc/soc-core.c                  | 168 +++++-----
       sound/soc/soc-dapm.c                  | 133 ++++----
       sound/soc/soc-generic-dmaengine-pcm.c |  18 +
       sound/soc/soc-pcm.c                   | 463 ++++++++++++++++++--------
       6 files changed, 531 insertions(+), 271 deletions(-)
      
      --
      2.17.1
      8ae7fdc3
    • Mark Brown's avatar
      SoundWire: ASoC interfaces for multi-cpu dais and DisCo helpers · 870dede0
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      The first two patches prepare the support of multi-cpu dais for
      synchronized playback and capture. We remove an unused set of
      prototypes and add a get_sdw_stream() callback prototype currently
      missing (the implementation will come later as part of the
      synchronized playback)
      
      The last exposes macros used internally, so that they can be reused to
      extract information from the _ADR 64-bit values in SOF platform
      drivers and related machine drivers.
      
      I think it's simpler if all these simple patches are merged through
      the SoundWire tree. With the additional changes to remove the platform
      drivers and the merge of interrupt handling, that will result in a
      single immutable tag provided to Mark Brown.
      
      Pierre-Louis Bossart (3):
        soundwire: cadence: remove useless prototypes
        ASoC: soc-dai: add get_sdw_stream() callback
        soundwire: add helper macros for devID fields
      
       drivers/soundwire/bus.c            | 21 +++++----------------
       drivers/soundwire/cadence_master.h |  8 --------
       include/linux/soundwire/sdw.h      | 23 +++++++++++++++++++++++
       include/sound/soc-dai.h            | 21 +++++++++++++++++++++
       4 files changed, 49 insertions(+), 24 deletions(-)
      
      --
      2.20.1
      870dede0
    • Dan Murphy's avatar
      ASoC: tas2562: Add entries for the TAS2563 audio amplifier · 14f8c8d8
      Dan Murphy authored
      The TAS2563 is register compatible with the TAS2562.  The main
      difference is the TAS2563 has a programmable DSP to manage different
      audio profiles.
      Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
      Link: https://lore.kernel.org/r/20200226130305.12043-2-dmurphy@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      14f8c8d8