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 -- 2.34.1
- Follow-Ups:
- Re: [PATCH 00/13] ASoC: topology: kcontrol registration cleanup
- From: Mark Brown
- [PATCH 13/13] ASoC: topology: Unify code for creating standalone and widget enum control
- From: Amadeusz Sławiński
- [PATCH 12/13] ASoC: topology: Unify code for creating standalone and widget mixer control
- From: Amadeusz Sławiński
- [PATCH 09/13] ASoC: topology: Rename function creating widget kcontrol
- From: Amadeusz Sławiński
- [PATCH 11/13] ASoC: topology: Unify code for creating standalone and widget bytes control
- From: Amadeusz Sławiński
- [PATCH 10/13] ASoC: topology: Reshuffle function placement
- From: Amadeusz Sławiński
- [PATCH 08/13] ASoC: topology: Align dynamic object initialization for controls
- From: Amadeusz Sławiński
- [PATCH 07/13] ASoC: topology: Correctly set shift_r in soc_tplg_denum_create()
- From: Amadeusz Sławiński
- [PATCH 06/13] ASoC: topology: Cleanup soc_tplg_dapm_widget_denum_create
- From: Amadeusz Sławiński
- [PATCH 04/13] ASoC: topology: Cleanup soc_tplg_dapm_widget_dbytes_create
- From: Amadeusz Sławiński
- [PATCH 05/13] ASoC: topology: Cleanup soc_tplg_dapm_widget_dmixer_create
- From: Amadeusz Sławiński
- [PATCH 03/13] ASoC: topology: Properly initialize soc_enum values
- From: Amadeusz Sławiński
- [PATCH 01/13] ASoC: topology: Simplify code
- From: Amadeusz Sławiński
- [PATCH 02/13] ASoC: topology: Do not do unnecessary dobj management
- From: Amadeusz Sławiński
- Re: [PATCH 00/13] ASoC: topology: kcontrol registration cleanup
- Prev by Date: [PATCH v2 3/3] arm64: dts: imx8mp-evk: Add audio XCVR sound card
- Next by Date: [PATCH 02/13] ASoC: topology: Do not do unnecessary dobj management
- Previous by thread: [PATCH v2 0/3] arm64: dts: imx8mp: add audio XCVR sound card
- Next by thread: [PATCH 02/13] ASoC: topology: Do not do unnecessary dobj management
- Index(es):