snd_soc_dapm_free_widget(9)
π snd_soc_dapm_free_widget(9) β from the Kernel API Manual, bestie β¨
okay so this is a page straight outta the Kernel API Manual, and it's about exactly one little function that does exactly one little job: yeeting a widget out of existence. no cap. let's get into it π
πΈ NAME πΈ
snd_soc_dapm_free_widget β literally just frees the widget you point at. that's the whole vibe.
β¨ SYNOPSIS β¨
void snd_soc_dapm_free_widget (struct snd_soc_dapm_widget *w );
π¦ ARGUMENTS π¦
wβ the widget you want to free. that's it. that's the argument. she's the main character here π
π DESCRIPTION π
so what actually happens? two things, and they both matter:
- it removes the widget from all paths β every route she was part of, gone, uninvited from the group chat π«Ά
- it frees the memory that widget was occupying β bye bestie, thanks for the memories, the memory is now free π
that's the entire plot. no plot twists. iconic.
π₯ SEE ALSO π₯
the manpage is basically throwing a whole party of related functions at you, so here's the full guest list, no one left out:
snd_soc_dapm_kcontrol_to_widget(9)snd_soc_dapm_kcontrol_to_dapm(9)snd_soc_dapm_kcontrol_to_component(9)snd_soc_dapm_force_bias_level(9)snd_soc_dapm_init_bias_level(9)snd_soc_dapm_set_bias_level(9)snd_soc_dapm_get_bias_level(9)snd_soc_dapm_dai_get_connected_widgets(9)snd_soc_dapm_sync_unlocked(9)snd_soc_dapm_sync(9)snd_soc_dapm_add_routes(9)snd_soc_dapm_del_routes(9)snd_soc_dapm_new_widgets(9)snd_soc_dapm_get_volsw(9)snd_soc_dapm_put_volsw(9)snd_soc_dapm_get_enum_double(9)snd_soc_dapm_put_enum_double(9)snd_soc_dapm_info_pin_switch(9)snd_soc_dapm_get_pin_switch(9)snd_soc_dapm_get_component_pin_switch(9)snd_soc_dapm_put_pin_switch(9)snd_soc_dapm_put_component_pin_switch(9)snd_soc_dapm_new_control(9)snd_soc_dapm_new_controls(9)snd_soc_dapm_new_dai_widgets(9)snd_soc_dapm_stream_event(9)snd_soc_dapm_enable_pin_unlocked(9)snd_soc_dapm_enable_pin(9)snd_soc_dapm_force_enable_pin_unlocked(9)snd_soc_dapm_force_enable_pin(9)snd_soc_dapm_disable_pin_unlocked(9)snd_soc_dapm_disable_pin(9)snd_soc_dapm_get_pin_status(9)snd_soc_dapm_ignore_suspend(9)snd_soc_dapm_pin_has_prefix(9)snd_soc_dapm_free(9)
and if you wanna read the source yourself (slay, love that for you), it lives in the kernel file ./sound/soc/soc-dapm.c π
ngl bestie, this one's short β but every word of it is load-bearing. widget out of all paths, memory freed, done. π§
that's the whole page, mwah π β brought to you by ./sound/soc, dated October 2026, and yes that's the source and the date folded right into the sign-off like a little bow π periodt.
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms