snd_soc_com...et_jack_type(9)
π NAME π
snd_soc_com...et_jack_type(9) β okay so bestie, the description here is literally blank, like the manpage author just woke up and chose mystery π. The function is snd_soc_component_get_jack_type, and that's genuinely all the NAME section gives us. No cap.
This one lives in the Kernel API Manual, hi bestie, welcome to the kernel docs β¨
π SYNOPSIS π
int snd_soc_component_get_jack_type (struct snd_soc_component *component);
It gives back an int, takes exactly one arg, and honestly that's the whole vibe. Clean. Iconic. No notes. π
πΈ ARGUMENTS πΈ
componentβ that's yourCOMPONENT. Yes, the original really just says "COMPONENTs" and leaves it there π«Ά. You passed it in, you know what it is, slay.
π¦ DESCRIPTION π¦
So what does it actually do? It returns the jack type of the component. Periodt. π
And here's the fun part β that jack type can be either:
- the supported type, i.e. the one the thing just inherently has, or
- one that got read from devicetree using the property
jack-typeπ
So basically it's giving "I already know my type" OR "I looked it up in devicetree and that's my type now." Either way, you get a jack type back. Main character energy fr fr β¨
π SEE ALSO π
Kernel file: ./sound/soc/soc-component.c π
And the whole friend group of component functions you should also go look at:
snd_soc_component_set_sysclk(9)snd_soc_component_set_jack(9)snd_soc_component_init_regmap(9)snd_soc_component_exit_regmap(9)snd_soc_component_read(9)snd_soc_component_write(9)snd_soc_component_update_bits(9)snd_soc_component_update_bits_async(9)snd_soc_component_read_field(9)snd_soc_component_write_field(9)snd_soc_component_async_complete(9)snd_soc_component_test_bits(9)
Go read 'em all, they're lowkey obsessed with each other π§
Heads up bestie: this page is literally the definition of "iykyk" β if you need more deets than "returns the jack type," the source file up there is your bestie now π
And that's the whole page π β shoutout to the source ./sound/soc, dated October 2026, you ate that. Byeee ππ«
π¦ 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