1. 20 9月, 2022 2 次提交
  2. 01 9月, 2022 2 次提交
  3. 30 8月, 2022 1 次提交
  4. 29 8月, 2022 1 次提交
  5. 16 8月, 2022 1 次提交
  6. 15 8月, 2022 1 次提交
  7. 08 7月, 2022 1 次提交
  8. 29 6月, 2022 1 次提交
  9. 06 6月, 2022 1 次提交
    • C
      ASoC: codecs: Add HD-Audio codec driver · b5df2a7d
      Cezary Rojewski 提交于
      Add generic ASoC equivalent of ALSA HD-Audio codec. This codec is
      designed to follow HDA_DEV_LEGACY convention. Driver wrapps existing
      hda_codec.c handlers to prevent code duplication within the newly added
      code. Number of DAIs created is dependent on capabilities exposed by the
      codec itself. Because of this, single solution can be applied to support
      every single HD-Audio codec type.
      
      At the same time, through the ASoC topology, platform drivers may limit
      the number of endpoints available to the userspace as codec driver
      exposes BE DAIs only.
      
      Both hda_codec_probe() and hda_codec_remove() declare their expectations
      on device's usage_count and suspended-status. This is to catch any
      unexpected behavior as PM-related code for HD-Audio has been changing
      quite a bit throughout the years.
      
      In order for codec DAI list to reflect its actual PCM capabilities, PCMs
      need to be built and that can only happen once codec device is
      constructed. To do that, a valid component->card->snd_card pointer is
      needed. Said pointer will be provided by the framework once all card
      components are accounted for and their probing can begin. Usage of
      "binder" BE DAI solves the problem - codec can be listed as one of
      HD-Audio card components without declaring any actual BE DAIs
      statically.
      
      Relation with hdac_hda:
      
      Addition of parallel solution is motivated by behavioral differences
      between hdac_hda.c and its legacy equivalent found in sound/pci/hda
      e.g.: lack of dynamic, based on codec capabilities, resource allocation
      and high cost of removing such differences on actively used targets.
      Major goal of codec driver presented here is to follow HD-Audio legacy
      behavior in 1:1 fashion by becoming a wrapper. Doing so increases code
      coverage of the legacy code and reduces the maintenance cost for both
      solutions.
      Signed-off-by: NCezary Rojewski <cezary.rojewski@intel.com>
      Link: https://lore.kernel.org/r/20220511162403.3987658-3-cezary.rojewski@intel.comSigned-off-by: NMark Brown <broonie@kernel.org>
      b5df2a7d
  10. 19 5月, 2022 2 次提交
  11. 10 5月, 2022 1 次提交
  12. 26 4月, 2022 1 次提交
  13. 07 4月, 2022 1 次提交
  14. 06 4月, 2022 1 次提交
  15. 04 4月, 2022 1 次提交
  16. 07 3月, 2022 1 次提交
  17. 28 2月, 2022 1 次提交
  18. 08 2月, 2022 6 次提交
  19. 03 2月, 2022 1 次提交
  20. 24 1月, 2022 1 次提交
  21. 31 12月, 2021 1 次提交
  22. 22 12月, 2021 1 次提交
  23. 20 12月, 2021 1 次提交
  24. 02 12月, 2021 1 次提交
  25. 26 11月, 2021 1 次提交
  26. 25 11月, 2021 1 次提交
  27. 16 11月, 2021 1 次提交
  28. 27 10月, 2021 1 次提交
  29. 13 10月, 2021 2 次提交
  30. 08 10月, 2021 1 次提交
  31. 07 10月, 2021 1 次提交