1. 11 Jul, 2020 1 commit
  2. 10 Jul, 2020 3 commits
  3. 07 Jul, 2020 10 commits
  4. 30 Jun, 2020 3 commits
  5. 25 Jun, 2020 2 commits
  6. 24 Jun, 2020 2 commits
  7. 23 Jun, 2020 4 commits
  8. 22 Jun, 2020 1 commit
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v5.8-rc2' of... · 91ef3d9f
      Takashi Iwai authored
      Merge tag 'asoc-fix-v5.8-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.8
      
      This is a collection of mostly small fixes, mostly fixing fallout from
      some of the DPCM changes that went in last time around which shook out
      some issues on i.MX and Qualcomm platforms.  The addition of a managed
      version of snd_soc_register_dai() is to fix resource leaks.
      
      There's also a few new device IDs for x86 systems.
      91ef3d9f
  9. 18 Jun, 2020 3 commits
  10. 17 Jun, 2020 7 commits
  11. 16 Jun, 2020 2 commits
  12. 15 Jun, 2020 2 commits
    • Mark Brown's avatar
      Merge series "ASoC: topology: fix use-after-free when removing components"... · 4036d05c
      Mark Brown authored
      Merge series "ASoC: topology: fix use-after-free when removing components" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset fixes a memory allocation issue and removes a 100%
      reproducible use-after-free report thrown by KASAN in automated module
      removal tests across multiple platforms.
      
      All the credit goes to Bard Liao for root-causing the issue. DAIs may
      be registered at the same time as a component, or when the topology is
      loaded. This two-step registration causes the memory for
      topology-based DAIs to allocated last, and conversely to be released
      first by devres, before the component is released and the DAIs removed
      from the component DAI list with snd_soc_unregister_dais().
      
      When we remove a component, by the time we walk through its dai list
      to unregister all dais, the dais allocated by the topology have been
      freed already by devres and the list is corrupted with pointers that
      are no longer valid.
      
      The suggestion is to add an explicit devm_ based registration for
      topology-based dais, so that each dai is cleanly removed from the
      component dai list in the release operation before devres releases the
      allocated memory.
      
      Pierre-Louis Bossart (2):
        ASoC: soc-devres: add devm_snd_soc_register_dai()
        ASoC: soc-topology: use devm_snd_soc_register_dai()
      
       include/sound/soc.h      |  4 ++++
       sound/soc/soc-devres.c   | 37 +++++++++++++++++++++++++++++++++++++
       sound/soc/soc-topology.c |  3 +--
       3 files changed, 42 insertions(+), 2 deletions(-)
      
      --
      2.20.1
      4036d05c
    • Brent Lu's avatar
      ASoC: SOF: Intel: hda: Clear RIRB status before reading WP · 40e2c465
      Brent Lu authored
      Port commit 6d011d50 ("ALSA: hda: Clear RIRB status before reading
      WP") from legacy HDA driver to fix the get response timeout issue.
      Current SOF driver does not suffer from this issue because sync write
      is enabled in hda_init. The issue will come back if the sync write is
      disabled for some reason.
      Signed-off-by: default avatarBrent Lu <brent.lu@intel.com>
      Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
      Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Link: https://lore.kernel.org/r/1591959048-15813-1-git-send-email-brent.lu@intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      40e2c465