snd_soc_dap...pin_unlocked(9)
π snd_soc_dapm_disable_pin_unlocked β disable pin β¨
okay bestie, this is the snd_soc_dap...pin_unlocked(9) page from the Kernel API Manual, and we're talking about snd_soc_dapm_disable_pin_unlocked. Long name, very main character, let's get into it. π«Ά
πΈ NAME πΈ
snd_soc_dapm_disable_pin_unlocked β disable pin. That's the whole assignment, no cap. π
β¨ SYNOPSIS β¨
int snd_soc_dapm_disable_pin_unlocked (struct snd_soc_dapm_context *dapm
, const char *pin );
π ARGUMENTS π
dapmβ the DAPM context, aka the DAPM situation you're working inside.pinβ the pin name. Gotta tell it which pin, bestie.
π¦ DESCRIPTION π¦
It disables the input/output pin and its parents or children widgets. Family business included, fr fr.
It requires external locking. That's a real requirement, not a vibe check you can skip. π
β οΈ NOTE β οΈ
Heads up: snd_soc_dapm_sync needs to be called after this for DAPM to do any widget power switching. No sync = no power-switch magic. π
π SEE ALSO π
The whole crew is here, bestie:
- Kernel file:
./sound/soc/soc-dapm.c 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_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(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)
source: ./sound/soc Β· date: October 2026 Β· page: snd_soc_dap...pin_unlocked(9). byeee 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