1. 24 Aug, 2020 18 commits
  2. 21 Aug, 2020 5 commits
  3. 20 Aug, 2020 5 commits
  4. 19 Aug, 2020 8 commits
  5. 18 Aug, 2020 4 commits
    • Johan Jonker's avatar
      ASoC: rockchip-spdif: add description for rk3308 · a8535ae7
      Johan Jonker authored
      A test with the command below shows that the compatible string
      
      "rockchip,rk3308-spdif", "rockchip,rk3328-spdif"
      
      is already in use, but is not added to a document.
      The current fallback string "rockchip,rk3328-spdif" points to a data
      set enum RK_SPDIF_RK3366 in rockchip_spdif.c that is not used both
      in the mainline as in the manufacturer kernel.
      (Of the enum only RK_SPDIF_RK3288 is used.)
      So if the properties don't change we might as well use the first SoC
      in line as fallback string and add the description for rk3308 as:
      
      "rockchip,rk3308-spdif", "rockchip,rk3066-spdif"
      
      make ARCH=arm64 dtbs_check
      DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
      Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
      Link: https://lore.kernel.org/r/20200818143727.5882-1-jbx6244@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a8535ae7
    • Charles Keepax's avatar
      ASoC: wm_adsp: Update naming in error handling · a4d328ef
      Charles Keepax authored
      It seems the datasheet has never used the word slave for this error
      status bit and has always used the term address error. So update the
      driver to match the datasheets and also in the process align a bit
      better with avoiding the use of such words where possible.
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20200818160126.4852-1-ckeepax@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a4d328ef
    • Mark Brown's avatar
      Merge series "ASoC: qdsp6: add gapless compressed audio support" from Srinivas... · 28f95795
      Mark Brown authored
      Merge series "ASoC: qdsp6: add gapless compressed audio support" from Srinivas Kandagatla <srinivas.kandagatla@linaro.org>:
      
      This patchset adds gapless compressed audio support on q6asm.
      Gapless on q6asm is implemented using 2 streams in a single q6asm session.
      
      First few patches such as stream id per each command, gapless flags
      and silence meta data are for preparedness for adding gapless support.
      Last patch implements copy callback to allow finer control over buffer offsets,
      specially in partial drain cases.
      
      This patchset is tested on RB3 aka DB845c platform.
      
      This patchset as it is will support gapless however QDSP can also
      support switching decoders on a single stream. Patches to support such feature
      are send in different patchset which involves adding generic interfaces.
      
      Thanks,
      srini
      
      Changes since v2:(mostly suggested by Pierre)
      - removed unnessary kernel style comments,
      - moved TIMESTAMP flag to respective patch.
      - move preparatory code from gapless support patch to new one.
      - fix subject prefix of one patch.
      - add comments to clarify valid stream_ids
      
      Srinivas Kandagatla (10):
        ASoC: q6asm: rename misleading session id variable
        ASoC: q6asm: make commands specific to streams
        ASoC: q6asm: use flags directly from q6asm-dai
        ASoC: q6asm: add length to write command token
        ASoC: q6asm: add support to remove intial and trailing silence
        ASoC: q6asm: add support to gapless flag in q6asm open
        ASoC: q6asm-dai: add next track metadata support
        ASoC: q6asm-dai: prepare set params to accept profile change
        ASoC: q6asm-dai: add gapless support
        ASoC: q6asm-dai: add support to copy callback
      
       sound/soc/qcom/qdsp6/q6asm-dai.c | 414 +++++++++++++++++++++++--------
       sound/soc/qcom/qdsp6/q6asm.c     | 169 +++++++++----
       sound/soc/qcom/qdsp6/q6asm.h     |  49 ++--
       3 files changed, 469 insertions(+), 163 deletions(-)
      
      --
      2.21.0
      28f95795
    • Mark Brown's avatar
      Merge series "ASoC: Intel: fix cppcheck warnings" from Pierre-Louis Bossart... · 5ca8f9a5
      Mark Brown authored
      Merge series "ASoC: Intel: fix cppcheck warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset tries to reduce the number of warnings on those drivers,
      so that cppcheck can become a viable tool to detect issues (currently
      hundreds of reports).
      
      Most of the problems are related to unnecessary/redundant variable
      assignments, prototypes and one nice logical mistake resulting in an
      always-true condition.
      
      Pierre-Louis Bossart (21):
        ASoC: Intel: Atom: sst-atom-controls: remove redundant assignments
        ASoC: Intel: Atom: compress: remove redundant assignment
        ASoC: Intel: Atom: platform-pcm: remove redundant assignment
        ASoC: Intel: Atom: sst: remove useless NULL assignment
        ASoC: Intel: Atom: remove redundant initialization
        ASoC: Intel: Atom: sst_pvt: remove redundant initialization
        ASoC: Intel: Atom: platform-pcm: fix redundant return
        ASoC: Intel: Atom: remove useless assignment
        ASoC: Intel: Atom: sst_loader: remove always-true condition
        ASoC: Intel: Atom: sst_pvt: simplify return handling
        ASoC: Intel: Atom: (cosmetic) align parameters
        ASoC: Intel: Baytrail: (cosmetic) align function parameters
        ASoC: Intel: common: (cosmetic) align function parameters
        ASoC: Intel: haswell: (cosmetic) align function parameters
        ASoC: Intel: haswell-ipc: remove redundant assignments
        ASoC: Intel: Skylake: skl-nhlt: remove redundant initialization
        ASoC: Intel: Skylake: cldma: remove redundant initialization
        ASoC: Intel: Skylake: sst-utils: remove redundant assignment
        ASoC: Intel: Skylake: skl-topology: remove redundant assignments
        ASoC: Intel: Skylake: skl-topology: remove redundant assignment
        ASoC: Intel: Skylake: (cosmetic) align function parameters
      
       sound/soc/intel/atom/sst-atom-controls.c      |  4 +--
       .../intel/atom/sst-mfld-platform-compress.c   |  3 +-
       sound/soc/intel/atom/sst-mfld-platform-pcm.c  |  4 +--
       sound/soc/intel/atom/sst-mfld-platform.h      |  4 +--
       sound/soc/intel/atom/sst/sst.c                |  5 ++-
       sound/soc/intel/atom/sst/sst.h                | 34 +++++++++----------
       sound/soc/intel/atom/sst/sst_loader.c         |  3 +-
       sound/soc/intel/atom/sst/sst_pvt.c            |  4 +--
       sound/soc/intel/baytrail/sst-baytrail-ipc.h   |  3 +-
       sound/soc/intel/common/sst-dsp-priv.h         |  2 +-
       sound/soc/intel/common/sst-dsp.h              | 15 ++++----
       sound/soc/intel/haswell/sst-haswell-ipc.c     |  4 +--
       sound/soc/intel/haswell/sst-haswell-ipc.h     |  2 +-
       sound/soc/intel/skylake/cnl-sst-dsp.h         |  4 +--
       sound/soc/intel/skylake/skl-nhlt.c            |  2 +-
       sound/soc/intel/skylake/skl-sst-cldma.c       |  2 +-
       sound/soc/intel/skylake/skl-sst-ipc.h         | 16 ++++-----
       sound/soc/intel/skylake/skl-sst-utils.c       |  2 +-
       sound/soc/intel/skylake/skl-topology.c        |  8 ++---
       sound/soc/intel/skylake/skl-topology.h        |  8 ++---
       sound/soc/intel/skylake/skl.h                 |  2 +-
       21 files changed, 63 insertions(+), 68 deletions(-)
      
      --
      2.25.1
      5ca8f9a5