wm8962_mic_detect(9)
π 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
- 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