1. 29 Apr, 2020 6 commits
  2. 28 Apr, 2020 8 commits
  3. 27 Apr, 2020 10 commits
  4. 24 Apr, 2020 3 commits
  5. 23 Apr, 2020 3 commits
  6. 22 Apr, 2020 4 commits
  7. 21 Apr, 2020 6 commits
    • Kai Vehmanen's avatar
      ASoC: intel/skl/hda - fix oops on systems without i915 audio codec · 5bf73b1b
      Kai Vehmanen authored
      Recent fix for jack detection caused a regression on systems with HDA
      audio codec but no HDMI/DP audio via i915 graphics, leading to a kernel
      oops at device probe. On these systems, HDA bus instance lookup fails,
      as the first ASoC runtime of the card is connected to a dummy codec
      (as no HDMI codec is present).
      
      Fixes: 3a24f135 ("ASoC: intel/skl/hda - set autosuspend timeout for hda codecs")
      Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Link: https://lore.kernel.org/r/20200420205431.13070-1-kai.vehmanen@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      5bf73b1b
    • Mark Brown's avatar
      Merge series "ASoC: Add new module driver for new ASRC" from Shengjiu Wang <shengjiu.wang@nxp.com>: · 787a46c0
      Mark Brown authored
      Add new module driver for new ASRC in i.MX8MN, several commits
      are added for new property fsl,asrc-format
      
      Shengjiu Wang (7):
        ASoC: fsl_asrc: rename asrc_priv to asrc
        ASoC: dt-bindings: fsl_asrc: Add new property fsl,asrc-format
        ASoC: fsl-asoc-card: Support new property fsl,asrc-format
        ASoC: fsl_asrc: Support new property fsl,asrc-format
        ASoC: fsl_asrc: Move common definition to fsl_asrc_common
        ASoC: dt-bindings: fsl_easrc: Add document for EASRC
        ASoC: fsl_easrc: Add EASRC ASoC CPU DAI drivers
      
      changes in v9
      - use lowercase for dt example.
      
      changes in v8
      - change get_pair_priv_size to pair_priv_size variable
      
      changes in v7
      - updated according to Nicoin's comments.
      - add get_pair_priv_size to replace PAIR_PRIVATE_SIZE
      
      changes in v6
      - updated according to Nicoin's and Rob's comments.
      
      changes in v5
      - Add new property fsl,asrc-format, rather than change fsl,asrc-width
        to fsl,asrc-formt.
      - code change for above change.
      
      changes in v4
      - Add several commit for changing DT binding asrc-width to asrc-format
      - rename asrc_priv to asrc
      
      changes in v3
      - add new commit "ASoC: fsl_asrc: Change asrc_width to asrc_format"
      - modify binding doc to yaml format
      - remove fsl_easrc_dma.c, make fsl_asrc_dma.c useable for easrc.
      
      changes in v2
      - change i.MX815 to i.MX8MN
      - Add changes in Kconfig and Makefile
      
       .../devicetree/bindings/sound/fsl,asrc.txt    |    4 +
       .../devicetree/bindings/sound/fsl,easrc.yaml  |  101 +
       sound/soc/fsl/Kconfig                         |   11 +
       sound/soc/fsl/Makefile                        |    2 +
       sound/soc/fsl/fsl-asoc-card.c                 |   24 +-
       sound/soc/fsl/fsl_asrc.c                      |  305 +--
       sound/soc/fsl/fsl_asrc.h                      |   74 +-
       sound/soc/fsl/fsl_asrc_common.h               |  106 +
       sound/soc/fsl/fsl_asrc_dma.c                  |   54 +-
       sound/soc/fsl/fsl_easrc.c                     | 2114 +++++++++++++++++
       sound/soc/fsl/fsl_easrc.h                     |  651 +++++
       11 files changed, 3212 insertions(+), 234 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/fsl,easrc.yaml
       create mode 100644 sound/soc/fsl/fsl_asrc_common.h
       create mode 100644 sound/soc/fsl/fsl_easrc.c
       create mode 100644 sound/soc/fsl/fsl_easrc.h
      
      --
      2.21.0
      787a46c0
    • Mark Brown's avatar
      Merge series "ASoC: add snd_compress_ops and replace" from Kuninori Morimoto... · 8baa3b5a
      Mark Brown authored
      Merge series "ASoC: add snd_compress_ops and replace" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      Hi Mark
      
      Current snd_soc_component_driver has compr_ops,
      but it is created for ALSA, not for ALSA SoC.
      This means it doesn't know the callback is for which component,
      thus, each callback needs to get component via lookup function.
      
      It is not good design, and will not work in the future,
      because ASoC can have multipul same name component which
      current lookup function can't handle.
      
      This v2 patch-set adds new snd_compress_ops and call
      callbacks with component.
      v1 is here
      
      Link: https://lore.kernel.org/alsa-devel/87blnqpuqp.wl-kuninori.morimoto.gx@renesas.com/
      
      Kuninori Morimoto (8):
        ASoC: soc-compress: add snd_compress_ops
        ASoC: codec: wm_adsp: use snd_compress_ops
        ASoC: uniphier: use snd_compress_ops
        ASoC: qcom: q6sp6: use snd_compress_ops
        ASoC: intel: atom: use snd_compress_ops
        ASoC: sof: use snd_compress_ops
        ASoC: sprd: use snd_compress_ops
        ASoC: soc-compress: remove snd_compr_ops
      
       include/sound/soc-component.h                 | 40 ++++++++-
       sound/soc/codecs/cs47l15.c                    |  9 +-
       sound/soc/codecs/cs47l24.c                    |  8 +-
       sound/soc/codecs/cs47l35.c                    |  9 +-
       sound/soc/codecs/cs47l85.c                    |  9 +-
       sound/soc/codecs/cs47l90.c                    |  9 +-
       sound/soc/codecs/cs47l92.c                    |  9 +-
       sound/soc/codecs/wm5102.c                     |  9 +-
       sound/soc/codecs/wm5110.c                     |  8 +-
       sound/soc/codecs/wm_adsp.c                    | 18 ++--
       sound/soc/codecs/wm_adsp.h                    | 18 ++--
       .../intel/atom/sst-mfld-platform-compress.c   | 43 +++++----
       sound/soc/intel/atom/sst-mfld-platform-pcm.c  |  2 +-
       sound/soc/intel/atom/sst-mfld-platform.h      |  2 +-
       sound/soc/qcom/qdsp6/q6asm-dai.c              | 51 ++++++-----
       sound/soc/soc-compress.c                      | 89 ++++++++++---------
       sound/soc/sof/compress.c                      |  7 +-
       sound/soc/sof/compress.h                      |  7 +-
       sound/soc/sof/pcm.c                           |  4 +-
       sound/soc/sof/sof-priv.h                      |  2 +-
       sound/soc/sprd/sprd-pcm-compress.c            | 49 +++++-----
       sound/soc/sprd/sprd-pcm-dma.c                 |  2 +-
       sound/soc/sprd/sprd-pcm-dma.h                 |  2 +-
       sound/soc/uniphier/aio-compress.c             | 45 ++++++----
       sound/soc/uniphier/aio-dma.c                  |  2 +-
       sound/soc/uniphier/aio.h                      |  2 +-
       26 files changed, 265 insertions(+), 190 deletions(-)
      
      --
      2.17.1
      8baa3b5a
    • Sven Van Asbroeck's avatar
      ASoC: Add initial ZL38060 driver · 52e8a94b
      Sven Van Asbroeck authored
      The ZL38060 is a "Connected Home Audio Processor" from Microsemi,
      which consists of a Digital Signal Processor (DSP), several Digital
      Audio Interfaces (DAIs), analog outputs, and a block of 14 GPIOs.
      
      This driver supports only a tiny subset of the chip's functionality
      and possible configurations:
      - bypass mode (whole dsp block is bypassed)
      - chip's I2S DAI routed directly to/from DACs and microphone
      - chip's internal clock is driven by a 12 MHz external crystal
      - chip's DAI connected to CPU is I2S, and bit + frame clock master
      - chip must be strapped for "host boot": in this mode, firmware will
        be provided by this driver.
      Signed-off-by: default avatarSven Van Asbroeck <TheSven73@gmail.com>
      Link: https://lore.kernel.org/r/20200417221341.31428-2-TheSven73@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      52e8a94b
    • Sven Van Asbroeck's avatar
      dt-bindings: sound: add Microsemi ZL38060 binding · 19f303ca
      Sven Van Asbroeck authored
      Add devicetree binding for the Microsemi ZL38060 Connected
      Home Audio Processor.
      Signed-off-by: default avatarSven Van Asbroeck <TheSven73@gmail.com>
      Link: https://lore.kernel.org/r/20200417221341.31428-1-TheSven73@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      19f303ca
    • Kuninori Morimoto's avatar
      ASoC: soc-compress: remove snd_compr_ops · e7cbe528
      Kuninori Morimoto authored
      snd_compr_ops couldn't care called component,
      but now we can care it via snd_compress_ops.
      All drivers switched to it.
      This patch removes snd_compr_ops.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Tested-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Reviewed-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Link: https://lore.kernel.org/r/87lfmqvdig.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e7cbe528