An error occurred fetching the project authors.
  1. 18 Aug, 2020 1 commit
  2. 31 Jul, 2020 3 commits
  3. 30 Jul, 2020 1 commit
  4. 17 Jul, 2020 1 commit
  5. 07 Jul, 2020 1 commit
    • Maxime Ripard's avatar
      ASoC: core: Remove only the registered component in devm functions · 58f30150
      Maxime Ripard authored
      The ASoC devm_ functions that register a component
      (devm_snd_soc_register_component and devm_snd_dmaengine_pcm_register) will
      clean their component by running snd_soc_unregister_component.
      
      snd_soc_unregister_component will then remove all the components for the
      device that was used to register the component in the first place.
      
      However, some drivers register several components (such as a DAI and a
      dmaengine PCM) on the same device, and if the dmaengine PCM is registered
      first, then the DAI will be cleaned up first and
      snd_dmaengine_pcm_unregister will be called next.
      
      snd_dmaengine_pcm_unregister will then lookup the dmaengine PCM component
      on the device, and if there's one unregister that component and release its
      dmaengine channels. That doesn't happen in practice though since the first
      call to snd_soc_unregister_component removed all the components, so we
      never get the chance to release the dmaengine channels.
      
      In order to fix this, instead of removing all the components for a given
      device, we can simply remove the component that was registered in the first
      place. We should have the same number of component registration than we
      have components, so it should work just fine.
      Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
      Link: https://lore.kernel.org/r/20200707074237.287171-1-maxime@cerno.techSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      58f30150
  6. 23 Jun, 2020 1 commit
  7. 15 Jun, 2020 4 commits
  8. 12 Jun, 2020 1 commit
  9. 09 Jun, 2020 1 commit
  10. 30 May, 2020 11 commits
  11. 25 May, 2020 2 commits
  12. 18 May, 2020 1 commit
  13. 29 Apr, 2020 4 commits
  14. 14 Apr, 2020 5 commits
  15. 20 Mar, 2020 3 commits