mbox series

[00/13] ASoC: topology: kcontrol registration cleanup

Message ID 20240627101850.2191513-1-amadeuszx.slawinski@linux.intel.com (mailing list archive)
Headers show
Series ASoC: topology: kcontrol registration cleanup | expand

Message

Amadeusz Sławiński June 27, 2024, 10:18 a.m. UTC
Code used to create standalone and widget controls is mostly same, with
with exception that in standalone case dynamic object needs to be
registered and control created directly.

Following patches clean up and unify kcontrol creation code in topology
code.

Amadeusz Sławiński (13):
  ASoC: topology: Simplify code
  ASoC: topology: Do not do unnecessary dobj management
  ASoC: topology: Properly initialize soc_enum values
  ASoC: topology: Cleanup soc_tplg_dapm_widget_dbytes_create
  ASoC: topology: Cleanup soc_tplg_dapm_widget_dmixer_create
  ASoC: topology: Cleanup soc_tplg_dapm_widget_denum_create
  ASoC: topology: Correctly set shift_r in soc_tplg_denum_create()
  ASoC: topology: Align dynamic object initialization for controls
  ASoC: topology: Rename function creating widget kcontrol
  ASoC: topology: Reshuffle function placement
  ASoC: topology: Unify code for creating standalone and widget bytes
    control
  ASoC: topology: Unify code for creating standalone and widget mixer
    control
  ASoC: topology: Unify code for creating standalone and widget enum
    control

 sound/soc/soc-topology.c | 568 +++++++++++++--------------------------
 1 file changed, 194 insertions(+), 374 deletions(-)


base-commit: 2b1281d6ae7b47c654f5be68e0d270f76f7accd2