1. 22 Sep, 2021 3 commits
  2. 21 Sep, 2021 4 commits
  3. 20 Sep, 2021 21 commits
  4. 17 Sep, 2021 6 commits
  5. 16 Sep, 2021 6 commits
    • Mark Brown's avatar
      Merge series "ASoC: cs42l42: Implement Manual Type detection as fallback" from... · f1291f41
      Mark Brown authored
      Merge series "ASoC: cs42l42: Implement Manual Type detection as fallback" from Vitaly Rodionov <vitalyr@opensource.cirrus.com>:
      
      For some headsets CS42L42 autodetect mode is not working correctly.
      They will be detected as unknown types or as headphones. According
      to the CS42L42 datasheet, if the headset autodetect failed,
      then the driver should switch to manual mode and perform a manual steps sequence.
      These steps were missing in the current driver code. This patch will add manual
      mode fallback steps in case autodetect failed. The default behavior is not affected,
      manual mode runs only when autodetect failed.
      
      Tested for regression with autodetect with all known headsets - no regression.
      Tested with all headsets customers reported as false detected:
      Gumdrop DropTech B1 - detected as headset OK
      HUAWEI AM115 - detected as headset OK
      UGREEN EP103 - detected as headset OK
      HONOR AM116 - detected as headset OK
      
      Stefan Binding (1):
        ASoC: cs42l42: Implement Manual Type detection as fallback
      
       sound/soc/codecs/cs42l42.c | 104 ++++++++++++++++++++++++++++++++-----
       sound/soc/codecs/cs42l42.h |  54 +++++++++++++++++++
       2 files changed, 146 insertions(+), 12 deletions(-)
      
      --
      2.25.1
      f1291f41
    • Mark Brown's avatar
      Merge series "ASoC: SOF: Clean up the probe support" from Peter Ujfalusi... · 8e0850f9
      Mark Brown authored
      Merge series "ASoC: SOF: Clean up the probe support" from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      Hi,
      
      The probe debug feature of SOF can be used to extract streams of data from a
      given point of a pipeline for analysis.
      
      The support is implemented by using the ALSA/ASoC compress support for the
      capture stream, but the code can not be used by/for a normal compressed data
      stream. It is a debug feature.
      
      Merge the probe implementation in the core (compress.c/h and probe.c/h) into
      one file: sof-probes.c/h
      
      Rename the Intel HDA specific probe implementation from hda-compressc.c to
      hda-probes.c
      
      We also need to add IPC logging support for the probes messages and drop the
      unused references to SOF compress to have reasonably clean code.
      
      Regards,
      Peter
      ---
      Peter Ujfalusi (5):
        ASoC: SOF: ipc: Add probe message logging to ipc_log_header()
        ASoC: SOF: pcm: Remove non existent CONFIG_SND_SOC_SOF_COMPRESS
          reference
        ASoC: SOF: probe: Merge and clean up the probe and compress files
        ASoC: SOF: Intel: Rename hda-compress.c to hda-probes.c
        ASoC: SOF: sof-probes: Correct the function names used for
          snd_soc_cdai_ops
      
      Ranjani Sridharan (1):
        ASoC: SOF: compress: move and export sof_probe_compr_ops
      
       sound/soc/sof/Makefile                        |   3 +-
       sound/soc/sof/compress.c                      | 147 ---------
       sound/soc/sof/compress.h                      |  32 --
       sound/soc/sof/core.c                          |   2 +-
       sound/soc/sof/debug.c                         |   2 +-
       sound/soc/sof/intel/Makefile                  |   2 +-
       sound/soc/sof/intel/hda-dai.c                 |  16 +-
       .../intel/{hda-compress.c => hda-probes.c}    |   0
       sound/soc/sof/ipc.c                           |  23 ++
       sound/soc/sof/pcm.c                           |   6 +-
       sound/soc/sof/probe.h                         |  85 ------
       sound/soc/sof/sof-priv.h                      |   5 -
       sound/soc/sof/{probe.c => sof-probes.c}       | 280 +++++++++++-------
       sound/soc/sof/sof-probes.h                    |  38 +++
       14 files changed, 248 insertions(+), 393 deletions(-)
       delete mode 100644 sound/soc/sof/compress.c
       delete mode 100644 sound/soc/sof/compress.h
       rename sound/soc/sof/intel/{hda-compress.c => hda-probes.c} (100%)
       delete mode 100644 sound/soc/sof/probe.h
       rename sound/soc/sof/{probe.c => sof-probes.c} (52%)
       create mode 100644 sound/soc/sof/sof-probes.h
      
      --
      2.33.0
      8e0850f9
    • Mark Brown's avatar
      ASoC: au1x: Convert to modern terminology for DAI clocking · 8461d7d8
      Mark Brown authored
      As part of retiring the old macros defining the DAI clocking mode in the
      DAI format update the au1x drivers to use the new style macros.
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      8461d7d8
    • Mark Brown's avatar
      ASoC: atmel: Convert to new style DAI format definitions · 4a8cf938
      Mark Brown authored
      Convert the Atmel drivers to use the new style defines for clocking in DAI
      formats.
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      Reviewed-by: default avatarCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
      Acked-by: default avatarPeter Rosin <peda@axentia.se>
      4a8cf938
    • David Rhodes's avatar
      ASoC: cs35l41: Binding fixes · 6116df7f
      David Rhodes authored
      Fix warnings and errors in DT bindings
      
      Add newline at end of file
      Replace 'unevaluatedProperties' with 'additionalProperties'
      Add spi context to DT example
      Add #sound-dai-cells to DT example
      Rename to 'cirrus,cs35l41.yaml'
      Signed-off-by: default avatarDavid Rhodes <drhodes@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20210915191422.2371623-1-drhodes@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      6116df7f
    • Charles Keepax's avatar
      misc: cs35l41: Remove unused pdn variable · c6d1fa6c
      Charles Keepax authored
      Remove pdn variable that was made redundant in an earlier patch.
      
      Fixes: c2f14cc2 ("ASoC: cs35l41: Fix use of an uninitialised variable")
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20210916082346.12001-1-ckeepax@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      c6d1fa6c