snd_soc_jack...r_unregister(9)
π snd_soc_jack...r_unregister(9) π
ok so bestie, we're in the Kernel API Manual today (yes, the kernel, we're being iconic in ring zero β¨) and this page is literally about snd_soc_jack_notifier_unregister. The header's a little truncated up there β that's just the vibe, the real name is in a sec π«Ά
β¨ NAME β¨
snd_soc_jack_notifier_unregister β unregister a notifier for jack status πΈ
Like, the polite way to say "hey bestie, we're done here, stop telling me about jack changes" π
π¦ SYNOPSIS π¦
void snd_soc_jack_notifier_unregister (struct snd_soc_jack *jack ,
struct notifier_block *nb );
Note the void β this one doesn't come back with a status report, it just does the thing and dips π
π ARGUMENTS π
jackβ the ASoC jack π§ like, the actual audio connector we're talking about herenbβ the notifier block you want to unregister ποΈ the little callback bundle you're yeeting out of the notification list
π₯ DESCRIPTION π₯
Stop notifying for status changes. periodt.
That's it, that's the whole function β it unhooks that notifier block from the jack so it stops getting pinged about status changes. The way that nb just... gets to rest π no more callbacks for you, babe, you're off the list π€
π SEE ALSO π
- Kernel file
./sound/soc/soc-jack.cπ snd_soc_jack_report(9)snd_soc_jack_add_zones(9)snd_soc_jack_get_type(9)snd_soc_jack_add_pins(9)snd_soc_jack_notifier_register(9)β the other half of this duo, the one that puts it back on the list π«Άsnd_soc_jack_add_gpios(9)snd_soc_jack_add_gpiods(9)snd_soc_jack_free_gpios(9)
k that's the whole page bestie, go forth and unregister responsibly π§π
cute lil sign-off: this one lives in the Kernel API Manual, sourced from./sound/soc, dated October 2026, and it goes bysnd_soc_jack...r_unregister(9)at the top of every page. slay β¨
π¦ 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