summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-08-19 16:54:00 +0100
committerMark Brown <broonie@kernel.org>2025-08-19 16:54:00 +0100
commit9963b1fde2b6a9a2cb488f2b96427f73f566550d (patch)
tree1129f46a108eb8808090af39c5bdea6b102d1092 /rust/helpers/build_bug.c
parent7ed3723d612c200839820cea8a9ee86cbaa858a8 (diff)
parent2a55135201d5e24b80b7624880ff42eafd8e320c (diff)
ASoC: Intel: avs: Code cleanups and separation
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>: Set of patches that brings no new functionality but makes it easier to maintain and read the avs-driver code. There is one 'fix' among them - the third patch, described below. First, debug-related code - mainly the data-probing feature - is mixed with non-debug PCM code. Separate it into debug.h and update the pcm.c file. Next, as the probing-board is not tied to any topology file, it shall not using struct avs_soc_component descriptor but the basic struct snd_soc_component one. While on the first sight this is just bump in LOCs, runtime is simplified as no topology checks and related code will be engaged. With probing-board addressed and debug code relocated: - address the component-teardown issues when the componet->name points to a string which is shared by multiple components and/or machine boards. devm_kstrdup() makes this go away. - streamline the naming scheme for the functions engaged in the components registration. This is purely a readability improvement.
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions