snd_soc_dap...t_pin_switch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_soc_dapm_put_component_pin_switch β€” like, the whole vibe

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” yes that Kernel API Manual, we're in it, we're thriving. This page is about snd_soc_dapm_put_component_pin_switch, and honestly? iconic name, terrifying length, we love her.


✨ NAME ✨

snd_soc_dapm_put_component_pin_switch β€” sets the info for a pin switch πŸ¦‹


🌸 SYNOPSIS 🌸

int snd_soc_dapm_put_component_pin_switch (struct snd_kcontrol *kcontrol
, struct snd_ctl_elem_value *ucontrol );

like, she returns an int, she takes two args, that's the whole mood πŸ’œ


πŸŽ€ ARGUMENTS πŸŽ€

  • kcontrol β€” the mixer control πŸ‘‘ that's your struct snd_kcontrol * right there
  • ucontrol β€” the value, bestie πŸ’« your struct snd_ctl_elem_value *

πŸ”₯ DESCRIPTION πŸ”₯

So it's a callback ✨ β€” and what it does is provide information for a pin switch that's been added at the component level. That's it. That's the whole job. Lowkey simple, highkey important. no cap 🫢


🌈 SEE ALSO 🌈

like... that's a lot of friends but every single one of them ate πŸ’€πŸ‘‘


ngl reading this whole list is a vibe check and you passed, bestie πŸ’–

okay that's the whole page!! mwah 🫢 it lives in ./sound/soc, the doc is dated October 2026, and the footer energy is literally just snd_soc_dap...t_pin_switch(9) again because she's that girl. periodt. πŸŒΈπŸ§šπŸ’«

πŸ“¦ where this page comes from