snd_soc_dapm_sync_unlocked(9)
π snd_soc_dapm_sync_unlocked(9) β the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the Kernel API Manual β¨ (yes that's the manual name, we're being fancy today). This is the glow-up of the page for snd_soc_dapm_sync_unlocked(9), and no, the parenthetical (9) is not a personality trait, it's just the section number. Slay.
πΈ NAME πΈ
snd_soc_dapm_sync_unlocked β scan and power dapm paths
π SYNOPSIS π
int snd_soc_dapm_sync_unlocked (struct snd_soc_dapm_context *dapm );
β¨ ARGUMENTS β¨
dapmβ DAPM context π¦
π DESCRIPTION π
okay so picture this: it walks all dapm audio paths and powers widgets according to their stream or path usage. literally every single one. it's out here doing the rounds, checking who's streaming, who's on a path, and powering accordingly. iconic behavior tbh π
β οΈ Requires external locking. read that again, bestie. External. It does not do the locking for you. the _unlocked in the name is not a cute nickname, it's a whole warning. you gotta bring your own lock or it's giving undefined-vibes disaster π
It returns 0 for success. that's it. that's the whole return situation. π
π₯ SEE ALSO π₯
Kernel file ./sound/soc/soc-dapm.c, plus the whole friend group:
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_free_widget(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)
like, the whole crew showed up. no gatekeeping here. π«Ά
π sign-off era π
this page lives in ./sound/soc, dated October 2026, and it's the snd_soc_dapm_sync_unlocked(9) page, obviously. go lock something externally and stay hydrated bestie ππ§
π¦ 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