1. 21 Aug, 2020 2 commits
  2. 20 Aug, 2020 5 commits
  3. 19 Aug, 2020 8 commits
  4. 18 Aug, 2020 25 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
    • Mark Brown's avatar
      Merge series "ASoC: da7219: Reorganise device/codec level probe/remove" from... · ba3e069f
      Mark Brown authored
      Merge series "ASoC: da7219: Reorganise device/codec level probe/remove" from Adam Thomson <Adam.Thomson.Opensource@diasemi.com>:
      
      This patch set reorganises and fixes device and codec level probe/remove
      handling within the driver, to allow clean probe and remove at the codec level.
      
      This set relates to an issue raised by Yong Zhi where a codec level re-probe
      would fail due to clks still being registered from the previous instantiation.
      In addition some improvements around regulator handling and soft reset have
      also been included.
      
      Adam Thomson (3):
        ASoC: da7219: Move required devm_* allocations to device level code
        ASoC: da7219: Move soft reset handling to codec level probe
        ASoC: da7219: Fix clock handling around codec level probe
      
       sound/soc/codecs/da7219-aad.c |  85 +++++---
       sound/soc/codecs/da7219-aad.h |   3 +
       sound/soc/codecs/da7219.c     | 493 +++++++++++++++++++++++-------------------
       sound/soc/codecs/da7219.h     |   1 +
       4 files changed, 328 insertions(+), 254 deletions(-)
      
      --
      1.9.1
      ba3e069f
    • Mark Brown's avatar
      Merge series "refine and clean code for synchronous mode" from Shengjiu Wang... · bf66f140
      Mark Brown authored
      Merge series "refine and clean code for synchronous mode" from Shengjiu Wang <shengjiu.wang@nxp.com>:
      
      refine and clean code for synchronous mode
      
      Shengjiu Wang (3):
        ASoC: fsl_sai: Refine enable/disable TE/RE sequence in trigger()
        ASoC: fsl_sai: Drop TMR/RMR settings for synchronous mode
        ASoC: fsl_sai: Replace synchronous check with fsl_sai_dir_is_synced
      
      changes in v3:
      - Add reviewed-by Nicolin
      - refine the commit log.
      - Add one more patch #3
      
      changes in v2:
      - Split the commit
      - refine the sequence in trigger stop
      
       sound/soc/fsl/fsl_sai.c | 173 +++++++++++++++++++++++-----------------
       1 file changed, 102 insertions(+), 71 deletions(-)
      
      --
      2.27.0
      bf66f140
    • Mark Brown's avatar
      Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit... · cba62c8b
      Mark Brown authored
      Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar <rohitkr@codeaurora.org>:
      
      This patch chain add audio support for SC7180 soc by doing the required
      modification in existing common lpass-cpu/lpass-platform driver.
      This also fixes some concurrency issue.
      
      This patch series is already tested by Srinivas on Dragon Board 410c.
      Changes since v5:
              - Fixed remove api in lpass-sc7180.c
              - Addressed comments by Rob in yaml Documentation.
      
      Ajit Pandey (4):
        ASoC: qcom: Add common array to initialize soc based core clocks
        ASoC: qcom: lpass-platform: Replace card->dev with component->dev
        include: dt-bindings: sound: Add sc7180-lpass bindings header
        ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio
      
      Rohit kumar (8):
        ASoC: qcom: lpass-cpu: Move ahbix clk to platform specific function
        ASoC: qcom: lpass-platform: fix memory leak
        ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers
        ASoC: qcom: lpass-cpu: fix concurrency issue
        dt-bindings: sound: lpass-cpu: Add sc7180 lpass cpu node
        ASoC: qcom: lpass-cpu: Use platform_get_resource
        ASoC: qcom: lpass-platform: Use platform_get_irq
        dt-bindings: sound: lpass-cpu: Move to yaml format
      
       .../devicetree/bindings/sound/qcom,lpass-cpu.txt   |  79 --------
       .../devicetree/bindings/sound/qcom,lpass-cpu.yaml  | 189 ++++++++++++++++++
       include/dt-bindings/sound/sc7180-lpass.h           |  10 +
       sound/soc/qcom/Kconfig                             |   5 +
       sound/soc/qcom/Makefile                            |   2 +
       sound/soc/qcom/lpass-apq8016.c                     |  86 ++++++--
       sound/soc/qcom/lpass-cpu.c                         | 204 ++++++++++---------
       sound/soc/qcom/lpass-ipq806x.c                     |  67 +++++++
       sound/soc/qcom/lpass-lpaif-reg.h                   | 157 ++++++++-------
       sound/soc/qcom/lpass-platform.c                    | 155 +++++++++++----
       sound/soc/qcom/lpass-sc7180.c                      | 216 +++++++++++++++++++++
       sound/soc/qcom/lpass.h                             |  63 +++++-
       12 files changed, 934 insertions(+), 299 deletions(-)
       delete mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt
       create mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
       create mode 100644 include/dt-bindings/sound/sc7180-lpass.h
       create mode 100644 sound/soc/qcom/lpass-sc7180.c
      
      --
      Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
      is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
      cba62c8b
    • Mark Brown's avatar
      Merge series "Codec workaround" from Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>: · 354caf58
      Mark Brown authored
      This patch series enables some features on the tlv3204 codec and also fixes some issues faced while testing
      
      v2: Fixed the build error from snd_soc_component_read32
      v1: initial ASoC: codec: tlv3204: Codec workaround series
      
      Michael Sit Wei Hong (3):
        ASoC: codec: tlv3204: Enable 24 bit audio support
        ASoC: codec: tlv3204: Increased maximum supported channels
        ASoC: codec: tlv3204: Moving GPIO reset and add ADC reset
      
       sound/soc/codecs/tlv320aic32x4.c | 60 +++++++++++++++++++++++---------
       1 file changed, 44 insertions(+), 16 deletions(-)
      
      --
      2.17.1
      354caf58
    • Mark Brown's avatar
      Merge series "ASoC: sun50i-codec-analog: Cleanup and power management" from... · 4782e6cc
      Mark Brown authored
      Merge series "ASoC: sun50i-codec-analog: Cleanup and power management" from Samuel Holland <samuel@sholland.org>:
      
      This series performs some minor cleanup on the driver for the analog
      codec in the Allwinner A64, and hooks up the existing mute switches to
      DAPM widgets, in order to provide improved power management.
      
      Changes since v1:
        - Collected Acked-by/Reviewed-by tags
        - Used SOC_MIXER_NAMED_CTL_ARRAY to avoid naming a widget "Earpiece"
      
      Samuel Holland (8):
        ASoC: sun50i-codec-analog: Fix duplicate use of ADC enable bits
        ASoC: sun50i-codec-analog: Gate the amplifier clock during suspend
        ASoC: sun50i-codec-analog: Group and sort mixer routes
        ASoC: sun50i-codec-analog: Make headphone routes stereo
        ASoC: sun50i-codec-analog: Enable DAPM for headphone switch
        ASoC: sun50i-codec-analog: Make line out routes stereo
        ASoC: sun50i-codec-analog: Enable DAPM for line out switch
        ASoC: sun50i-codec-analog: Enable DAPM for earpiece switch
      
       sound/soc/sunxi/sun50i-codec-analog.c | 176 ++++++++++++++++----------
       1 file changed, 111 insertions(+), 65 deletions(-)
      
      --
      2.26.2
      4782e6cc
    • Mark Brown's avatar
      Merge series "This patch series is to enable multiple features on the Keembay... · 163ae5d1
      Mark Brown authored
      Merge series "This patch series is to enable multiple features on the Keembay Platform" from Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>:
      
      v2: Change channel-max device tree property to use new compatible string
      v1: Initial patch series
      
      Michael Sit Wei Hong (2):
        ASoC: Intel: KMB: Enable TDM audio capture
        dt-bindings: sound: intel,keembay-i2s: Add new compatible string
      
       .../bindings/sound/intel,keembay-i2s.yaml     |   1 +
       sound/soc/intel/keembay/kmb_platform.c        | 145 +++++++++++++-----
       2 files changed, 109 insertions(+), 37 deletions(-)
      
      --
      2.17.1
      163ae5d1
    • Mark Brown's avatar
      Merge series "Allwinner A64 digital audio codec fixes" from Samuel Holland <samuel@sholland.org>: · 2d32c608
      Mark Brown authored
      This series fixes a couple of issues with the digital audio codec in the
      Allwinner A64 SoC:
        1) Left/right channels were swapped when playing/recording audio
        2) DAPM topology was wrong, breaking some kcontrols
      
      This is the minimum set of changes necessary to fix these issues in a
      backward-compatible way. For that reason, some DAPM widgets still have
      incorrect or confusing names; those and other issues will be fixed in
      later patch sets.
      
      Samuel Holland (7):
        ASoC: dt-bindings: Add a new compatible for the A64 codec
        ASoC: sun8i-codec: Fix DAPM to match the hardware topology
        ASoC: sun8i-codec: Add missing mixer routes
        ASoC: sun8i-codec: Add a quirk for LRCK inversion
        ARM: dts: sun8i: a33: Update codec widget names
        arm64: dts: allwinner: a64: Update codec widget names
        arm64: dts: allwinner: a64: Update the audio codec compatible
      
       .../sound/allwinner,sun8i-a33-codec.yaml      |   6 +-
       arch/arm/boot/dts/sun8i-a33-olinuxino.dts     |   4 +-
       arch/arm/boot/dts/sun8i-a33.dtsi              |   4 +-
       .../dts/allwinner/sun50i-a64-bananapi-m64.dts |   8 +-
       .../dts/allwinner/sun50i-a64-orangepi-win.dts |   8 +-
       .../boot/dts/allwinner/sun50i-a64-pine64.dts  |   8 +-
       .../dts/allwinner/sun50i-a64-pinebook.dts     |   8 +-
       .../dts/allwinner/sun50i-a64-pinephone.dtsi   |   8 +-
       .../boot/dts/allwinner/sun50i-a64-pinetab.dts |   8 +-
       .../allwinner/sun50i-a64-sopine-baseboard.dts |   8 +-
       .../boot/dts/allwinner/sun50i-a64-teres-i.dts |   8 +-
       arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi |  11 +-
       sound/soc/sunxi/sun8i-codec.c                 | 137 ++++++++++++++----
       13 files changed, 155 insertions(+), 71 deletions(-)
      
      --
      2.26.2
      2d32c608
    • Mark Brown's avatar
      Merge series "ASoC: rt5682: Use clk APIs better" from Stephen Boyd <swboyd@chromium.org>: · fbe7a5db
      Mark Brown authored
      This patch series drops a printk message down to dev_dbg() because it
      was noisy and then migrates this driver to use clk_hw based APIs instead
      of clk based APIs because this device is a clk provider, not a clk
      consumer. I've only lightly tested the last two patches but I don't have
      all combinations of clks for this device.
      
      Cc: Cheng-Yi Chiang <cychiang@chromium.org>
      Cc: Shuming Fan <shumingf@realtek.com>
      
      Stephen Boyd (3):
        ASoC: rt5682: Use dev_dbg() in rt5682_clk_check()
        ASoC: rt5682: Drop usage of __clk_get_name()
        ASoC: rt5682: Use clk_hw based APIs for registration
      
       sound/soc/codecs/rt5682.c | 73 ++++++++++++---------------------------
       sound/soc/codecs/rt5682.h |  2 --
       2 files changed, 23 insertions(+), 52 deletions(-)
      
      Based on the last patch to this driver in linux-next.
      
      base-commit: 6301adf9
      --
      Sent by a computer, using git, on the internet
      fbe7a5db
    • Mark Brown's avatar
      Merge series "ASoC: SOF/Intel: fix cppcheck warnings" from Pierre-Louis... · 9af73c31
      Mark Brown authored
      Merge series "ASoC: SOF/Intel: fix cppcheck warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      A small set of fixes to reduce the number of warnings.
      
      Pierre-Louis Bossart (5):
        ASOC: SOF: Intel: hda-codec: move unused label to correct position
        ASoC: SOF: Intel: hda-codec: move variable used conditionally
        ASoC: Intel: rename shadowed variable for all broadwell boards
        ASoC: Intel: bytcht_cx2072x: simplify return handling
        ASoC: Intel: sof_sdw: clarify operator precedence
      
       sound/soc/intel/boards/bdw-rt5650.c     | 10 +++++-----
       sound/soc/intel/boards/bdw-rt5677.c     |  8 ++++----
       sound/soc/intel/boards/broadwell.c      |  8 ++++----
       sound/soc/intel/boards/bytcht_cx2072x.c |  2 +-
       sound/soc/intel/boards/sof_sdw.c        |  2 +-
       sound/soc/sof/intel/hda-codec.c         |  7 ++++++-
       6 files changed, 21 insertions(+), 16 deletions(-)
      
      --
      2.25.1
      9af73c31
    • Dan Murphy's avatar
      dt-bindings: tas2562: Add device specification links · da9afe50
      Dan Murphy authored
      Add device specification links for the TAS2562 and TAS2563.
      Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
      Link: https://lore.kernel.org/r/20200817172151.26564-2-dmurphy@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      da9afe50
    • Dan Murphy's avatar
      dt-bindings: tas2562: Remove tas2562 text file · b1e78c9f
      Dan Murphy authored
      Remove the tas2562 text file as the tas2562.yaml is now available.
      Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
      Link: https://lore.kernel.org/r/20200817172151.26564-1-dmurphy@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      b1e78c9f
    • Shengjiu Wang's avatar
      ASoC: fsl-asoc-card: Get "extal" clock rate by clk_get_rate · a8fd5ca8
      Shengjiu Wang authored
      On some platform(.e.g. i.MX8QM MEK), the "extal" clock is different
      with the mclk of codec, then the clock rate is also different.
      So it is better to get clock rate of "extal" rate by clk_get_rate,
      don't reuse the clock rate of mclk.
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
      Link: https://lore.kernel.org/r/1597047103-6863-1-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a8fd5ca8
    • Srinivas Kandagatla's avatar
      ASoC: qcom: add a dedicated menuconfig · db24fa57
      Srinivas Kandagatla authored
      Currently list of Qualcomm drivers is growing, so put them in to a
      proper menu so that it does not mix up with other ASOC configs in menuconfig.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Link: https://lore.kernel.org/r/20200811105818.7890-1-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      db24fa57
    • Sebastian Krzyszkowiak's avatar
      ASoC: wm8962: Export DAC/ADC monomix switches · 89383a27
      Sebastian Krzyszkowiak authored
      This allows solutions like ALSA UCM to utilize hardware mono downmix
      for cases where mono output to a single speaker is desired only in
      specific situations (like on a mobile phone).
      Signed-off-by: default avatarSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/3662154.EqNIRYjrc8@pliszkaSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      89383a27
    • Colin Ian King's avatar
      sound: remove duplicate "the the" phrase in Kconfig text · 466a806a
      Colin Ian King authored
      There are a couple of occurrences of "the the" in the Kconfig
      text. Fix these.
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Link: https://lore.kernel.org/r/20200817224706.6139-1-colin.king@canonical.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      466a806a
    • Randy Dunlap's avatar
      ASoC: SOF: delete repeated words in comments · 8932f0cb
      Randy Dunlap authored
      Drop the repeated words {that, the} in comments.
      Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Cc: Liam Girdwood <lgirdwood@gmail.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: alsa-devel@alsa-project.org
      Link: https://lore.kernel.org/r/20200808012156.10827-1-rdunlap@infradead.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      8932f0cb
    • Pierre-Louis Bossart's avatar
      ASoC: codecs: wm0010: use DECLARE_COMPLETION_ONSTACK() macro · 093513b8
      Pierre-Louis Bossart authored
      Follow recommendation in Documentation/scheduler/completion.rst and
      use macro to declare local 'struct completion'
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20200813175442.59067-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      093513b8
    • Stephan Gerhold's avatar
      ASoC: meson: Use snd_soc_of_parse_aux_devs() · 6bc37d32
      Stephan Gerhold authored
      Use the new common snd_soc_of_parse_aux_devs() helper function
      to parse auxiliary devices from the device tree. The new helper
      is just a copy of meson_card_add_aux_devices() so there is no
      functional change.
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Link: https://lore.kernel.org/r/20200801100257.22658-3-stephan@gerhold.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      6bc37d32
    • Stephan Gerhold's avatar
      ASoC: simple-card: Use snd_soc_of_parse_aux_devs() · d9ffff69
      Stephan Gerhold authored
      Use the new common snd_soc_of_parse_aux_devs() helper function
      to parse auxiliary devices from the device tree. The code is slightly
      different but the binding that is parsed is exactly the same.
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Link: https://lore.kernel.org/r/20200801100257.22658-2-stephan@gerhold.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d9ffff69
    • Stephan Gerhold's avatar
      ASoC: core: Add common helper to parse aux devs from device tree · 1ae0965d
      Stephan Gerhold authored
      simple-card.c and meson-card-utils.c use pretty much the same
      helper function to parse auxiliary devices from the device tree.
      
      Make it easier for other drivers to parse these from the device tree
      as well by adding a shared helper function to soc-core.c.
      
      snd_soc_of_parse_aux_devs() is pretty much a copy of
      meson_card_add_aux_devices() from meson-card-utils.c
      with two minor changes:
      
        - Make property name configurable as parameter
        - Change dev_err() message slightly for consistency with other
          error messages in soc-core.c
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarJerome Brunet <jbrunet@baylibre.com>
      Link: https://lore.kernel.org/r/20200801100257.22658-1-stephan@gerhold.netSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      1ae0965d
    • Shengjiu Wang's avatar
      ASoC: ak4458: Add regulator support · 7e3096e8
      Shengjiu Wang authored
      "AVDD" is for analog power supply,  "DVDD" is for digital power
      supply, they can improve the power management.
      
      As the regulator is enabled in pm runtime resume, which is
      behind the component driver probe, so accessing registers in
      component driver probe will fail. Fix this issue by enabling
      regcache_cache_only after pm_runtime_enable.
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Link: https://lore.kernel.org/r/1597397561-2426-2-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      7e3096e8