1. 29 May, 2020 11 commits
  2. 28 May, 2020 5 commits
  3. 27 May, 2020 16 commits
  4. 26 May, 2020 4 commits
  5. 25 May, 2020 4 commits
    • Mark Brown's avatar
      Merge series "ASoC: add soc-link" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>: · f202272c
      Mark Brown authored
      Hi Mark
      
      Current ALSA SoC is handling dai_link related operation,
      but it is implmemented directly without using function/macro,
      and at random place.
      
      This v4 patch-set creates new snd_soc_link_xxx() functions
      which handles dai_link related operation,
      and implmement these at new soc-link.c.
      
      v3 -> v4
      
      	- add Reviewed-by from Ranjani and Pierre-Louis
      	- fix bisection error at [2/7]
      
      v2 -> v3
      
      	- add missing #include <sound/soc-link.h> in soc-link.c
      
      v1 -> v2
      	- #include <sound/soc-link.h> is added on each c source file
      	  instead of soc.h
      	- not have extra error message after snd_soc_link_xxx(),
      	  because it already indicate it via snc_link_ret()
      	- snd_soc_link_compr_xxx() doesn't have rtd parameter,
      	  because it can be created from cstream
      
      Link: https://lore.kernel.org/r/87lflk4yk3.wl-kuninori.morimoto.gx@renesas.com
      Link: https://lore.kernel.org/r/874ksa59wc.wl-kuninori.morimoto.gx@renesas.com
      Link: https://lore.kernel.org/r/877dx868op.wl-kuninori.morimoto.gx@renesas.com
      
      Kuninori Morimoto (7):
        ASoC: add soc-link.c
        ASoC: soc-link: move soc_rtd_xxx()
        ASoC: soc-link: remove unneeded parameter from snd_soc_link_xxx()
        ASoC: soc-link: add snd_soc_link_be_hw_params_fixup()
        ASoC: soc-link: add snd_soc_link_compr_startup()
        ASoC: soc-link: add snd_soc_link_compr_shutdown()
        ASoC: soc-link: add snd_soc_link_compr_set_params()
      
       include/sound/soc-link.h |  27 +++++++
       sound/soc/Makefile       |   2 +-
       sound/soc/soc-compress.c |  46 ++++--------
       sound/soc/soc-core.c     |  18 ++---
       sound/soc/soc-dai.c      |   9 ++-
       sound/soc/soc-link.c     | 150 +++++++++++++++++++++++++++++++++++++++
       sound/soc/soc-pcm.c      |  86 ++++------------------
       7 files changed, 219 insertions(+), 119 deletions(-)
       create mode 100644 include/sound/soc-link.h
       create mode 100644 sound/soc/soc-link.c
      
      --
      2.17.1
      
      Thank you for your help !!
      
      Best regards
      ---
      Kuninori Morimoto
      f202272c
    • Mark Brown's avatar
      Merge series "ASoC: SOF: extended manifest support for 5.8" from Kai Vehmanen... · 3ca570da
      Mark Brown authored
      Merge series "ASoC: SOF: extended manifest support for 5.8" from Kai Vehmanen <kai.vehmanen@linux.intel.com>:
      
      Hello,
      
      extended firmware manifest is a method to retrieve capabilities
      directly from the firmware file instead of routing the information via
      the DSP and reading it back via IPC (latter mechanism still supported
      but will be deprecated).
      
      This feature was briefly merged to 5.8 with the series sent on
      2020-Apr-15, but due to a regression hit with exporting uapi headers,
      the patches got dropped.
      
      Here's an update with the uapi header issue fixed, rebased to latest
      'for-5.8' and a few minor fixes. This has been sitting in sof-dev for
      some weeks and no further issues have been found. We also added
      a check for the uapi-export case to SOF CI, so such errors would
      not slip through again in the future.
      
      Tooling support to create firmware files with an extended header
      is available in SOF firmware repository (see the rimage tool) and
      this part is already merged.
      
      Karol Trzcinski (5):
        ASoC: SOF: loader: Adjust validation condition for fw_offset
        ASoC: SOF: Introduce extended manifest
        ASoC: SOF: ext_manifest: parse firmware version
        ASoC: SOF: ext_manifest: parse windows
        ASoC: SOF: ext_manifest: parse compiler version
      
       include/sound/sof/ext_manifest.h |  95 +++++++++++++++++
       sound/soc/sof/intel/hda-loader.c |   2 +-
       sound/soc/sof/loader.c           | 176 ++++++++++++++++++++++++++++++-
       3 files changed, 269 insertions(+), 4 deletions(-)
       create mode 100644 include/sound/sof/ext_manifest.h
      
      --
      2.26.2
      3ca570da
    • Shengjiu Wang's avatar
      ASoC: fsl_asrc: Merge suspend/resume function to runtime_suspend/resume · 393dc21d
      Shengjiu Wang authored
      With dedicated power domain for asrc, power can be disabled after
      probe and pm runtime suspend, then the value of all registers need to
      be restored in pm runtime resume. So we can merge suspend/resume function
      to runtime_suspend/resume function and enable regcache only in end of
      probe.
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
      Link: https://lore.kernel.org/r/1590141444-28668-1-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      393dc21d
    • Tang Bin's avatar
      ASoC: fsl: imx-audmix: Fix unused assignment to variable 'ret' · 085c02d3
      Tang Bin authored
      Omit unused initialized value, because 'ret' will be assigined
      by the function snd_soc_component_read().
      Signed-off-by: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
      Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
      Link: https://lore.kernel.org/r/20200513111408.11452-1-tangbin@cmss.chinamobile.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      085c02d3