snd_soc_jack_add_pins(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_soc_jack_add_pins(9) πŸ’–

okay so welcome to the snd_soc_jack_add_pins(9) page from the Kernel API Manual, bestie 🫢 we're gonna get you comfy with this one, no cap.


🌸 NAME 🌸

snd_soc_jack_add_pins β€” Associate DAPM pins with an ASoC jack. That's literally the whole main-character job of this function ✨

✨ SYNOPSIS ✨

here's the exact signature, don't let the pointer energy scare you:

       int snd_soc_jack_add_pins (struct snd_soc_jack *jack , int count ,
       struct snd_soc_jack_pin *pins );

πŸŽ€ ARGUMENTS πŸŽ€

  • jack β€” an ASoC jack created with snd_soc_card_jack_new_pins. That's your main character jack πŸ’…
  • count β€” Number of pins. Literally how many pins are in the array.
  • pins β€” Array of pins. The whole lineup, and yes, the vibes are immaculate.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: after this function has been called, the DAPM pins you specified in the pins array will have their status updated to reflect the current state of the jack whenever the jack status is updated. That's the loop, and it's lowkey iconic 😭✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./sound/soc/soc-jack.c β€” go peek at the source, bestie, it's giving useful 🌈


okay that's the page, bestie 🫢 the source is ./sound/soc, dated October 2026, and it's the snd_soc_jack_add_pins(9) page β€” periodt πŸ’…βœ¨

πŸ“¦ where this page comes from