1. 18 Nov, 2021 1 commit
  2. 17 Nov, 2021 1 commit
  3. 16 Nov, 2021 9 commits
  4. 15 Nov, 2021 2 commits
  5. 12 Nov, 2021 9 commits
  6. 05 Nov, 2021 12 commits
  7. 04 Nov, 2021 1 commit
  8. 02 Nov, 2021 1 commit
  9. 29 Oct, 2021 4 commits
    • Mark Brown's avatar
      Merge series "Multiple headphone codec driver support" from Brent Lu <brent.lu@intel.com>: · 6195eb15
      Mark Brown authored
      Support multiple headphone drivers in same machine driver. In this
      case, both rt5682 and rt5682s are supported and enumerated by different
      ACPI HID "10EC5682" and "RTL5682".
      
      V2 Changes:
      - remove useless 'NULL', 'false' in if-condition
      - can use 'comp_ids' field alone to enumerate driver
      - add comma to the end of entry in structure initialization
      - keep the table of byt/cht/cml/icl untouched
      
      V3 Changes:
      - upstreamd from SOF github, PR#3200
      - use new compatiable IDs to shrink the enumerate table of BYT and CHT
      - add 'const' to snd_soc_acpi_codecs structures
      
      V4 Changes:
      - add signoff to patch 4~6
      
      V5 Changes:
      - none, just rebase for patch 3 conflict
      
      Brent Lu (3):
        ASoC: soc-acpi: add comp_ids field for machine driver matching
        ASoC: Intel: sof_rt5682: detect codec variant in probe function
        ASoC: Intel: sof_rt5682: use comp_ids to enumerate rt5682s
      
      Pierre-Louis Bossart (3):
        ASoC: Intel: soc-acpi-byt: shrink tables using compatible IDs
        ASoC: Intel: soc-acpi-cht: shrink tables using compatible IDs
        ASoC: Intel: soc-acpi: use const for all uses of snd_soc_acpi_codecs
      
       include/sound/soc-acpi.h                      |  3 +
       sound/soc/intel/boards/sof_rt5682.c           | 34 ++-------
       .../intel/common/soc-acpi-intel-adl-match.c   | 11 ++-
       .../intel/common/soc-acpi-intel-bxt-match.c   |  2 +-
       .../intel/common/soc-acpi-intel-byt-match.c   | 68 +++++++-----------
       .../intel/common/soc-acpi-intel-cht-match.c   | 69 +++++++------------
       .../intel/common/soc-acpi-intel-cml-match.c   |  8 +--
       .../intel/common/soc-acpi-intel-glk-match.c   |  2 +-
       .../intel/common/soc-acpi-intel-jsl-match.c   | 43 ++++--------
       .../intel/common/soc-acpi-intel-kbl-match.c   | 12 ++--
       .../intel/common/soc-acpi-intel-skl-match.c   |  2 +-
       .../intel/common/soc-acpi-intel-tgl-match.c   | 11 ++-
       sound/soc/soc-acpi.c                          | 24 ++++++-
       13 files changed, 119 insertions(+), 170 deletions(-)
      
      --
      2.25.1
      6195eb15
    • Mark Brown's avatar
      Merge series "ASoC: Sanity checks and soc-topology updates" from Cezary... · 956ac4f1
      Mark Brown authored
      Merge series "ASoC: Sanity checks and soc-topology updates" from Cezary Rojewski <cezary.rojewski@intel.com>:
      
      Couple of soc-topology related changes and a use-after-free fix. Said fix
      and two sanity checks for soc-topology lead the way. While the
      use-after-free is quite obvious, the sanity checks are here to cover for
      cases where user malformed the topology file -or- access to filesystem
      somehow got interrupted during copy operation. We shouldn't be reading
      outside the file boundary.
      
      Afterward a change to soc_tplg_add_kcontrol(): device being passed to
      soc_tplg_add_dcontrol() from comp->dev to tplg->dev which corrects
      dev_xxx() invoked later on.
      Also, device used for topology memory allocations from component->dev to
      component->card->dev so memory gets freed each time card device (usually
      platform device) is removed rather than the component device what may
      happen less frequently.
      
      Dummy component gets smarter and no longer overrides hw_params if
      there are other components accociated with related struct
      snd_soc_pcm_runtime instance.
      
      Amadeusz Sławiński (5):
        ASoC: core: Remove invalid snd_soc_component_set_jack call
        ASoC: topology: Check for dapm widget completeness
        ASoC: topology: Use correct device for prints
        ASoC: topology: Change topology device to card device
        ASoC: Stop dummy from overriding hwparams
      
      Cezary Rojewski (1):
        ASoC: topology: Add header payload_size verification
      
       sound/soc/soc-core.c     |  3 ---
       sound/soc/soc-topology.c | 34 ++++++++++++++++++++++++++++++----
       sound/soc/soc-utils.c    | 13 +++++++++++++
       3 files changed, 43 insertions(+), 7 deletions(-)
      
      --
      2.25.1
      956ac4f1
    • Christophe JAILLET's avatar
      ASoC: rsnd: Fix an error handling path in 'rsnd_node_count()' · 17363235
      Christophe JAILLET authored
      If we return before the end of the 'for_each_child_of_node()' iterator, the
      reference taken on 'np' must be released.
      
      Add the missing 'of_node_put()' call.
      
      Fixes: c413983e ("ASoC: rsnd: adjust disabled module")
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Reviewed-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/4c0e893cbfa21dc76c1ede0b6f4f8cff42209299.1634586167.git.christophe.jaillet@wanadoo.frSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      17363235
    • Uwe Kleine-König's avatar
      ASoC: tlv320aic3x: Make aic3x_remove() return void · 2a798513
      Uwe Kleine-König authored
      Up to now aic3x_remove() returns zero unconditionally. Make it return
      void instead which makes it easier to see in the callers that there is
      no error to handle.
      
      Also the return value of i2c and spi remove callbacks is ignored anyway.
      Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Link: https://lore.kernel.org/r/20211019074125.3812513-1-u.kleine-koenig@pengutronix.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      2a798513