1. 22 Sep, 2021 7 commits
  2. 21 Sep, 2021 4 commits
  3. 20 Sep, 2021 21 commits
  4. 17 Sep, 2021 6 commits
  5. 16 Sep, 2021 2 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