wm8962_mic_detect(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the wm8962_mic_detect(9) page from the Kernel API Manual, bestie. This function is literally called wm8962_mic_detect β€” and its whole vibe is: Enable microphone detection via the WM8962 IRQ. periodt. 🎀✨


🌸 SYNOPSIS 🌸

int wm8962_mic_detect (struct snd_soc_component *component , struct
       snd_soc_jack *jack );

πŸŽ€ ARGUMENTS πŸŽ€

  • component β€” the WM8962 component. like, the main character of this operation πŸ’…
  • jack β€” the jack to report detection events on. yes bestie, the events go here 🎧

πŸ¦‹ DESCRIPTION πŸ¦‹

So the whole point: this enables microphone detection via IRQ on the WM8962. slay. πŸ”₯

If GPIOs are being used to bring out signals to the processor, then only platform data configuration is needed for WM8962 β€” and processor GPIOs should be configured using snd_soc_jack_add_gpios instead. iykyk. 🌈

And super important: if no jack is supplied, detection will be disabled. no jack, no detection, that's the rule fr fr 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./sound/soc/codecs/wm8962.c β€” go read the source, bestie, it's giving lore πŸ“–βœ¨

and that's the page, gorgeous πŸ’œ β€” sourced from ./sound/soc/codecs, dated October 2026, and filed under wm8962_mic_detect(9). mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from