snd_soc_com..._exit_regmap(9)
π snd_soc_com..._exit_regmap β the Kernel API Manual page, bestie edition π
Okay so picture this: you're deep in the Kernel API Manual, page snd_soc_com..._exit_regmap(9), and you just need to clean up after yourself. Iconic behaviour honestly. Let's get into it β¨
β¨ NAME β¨
snd_soc_component_exit_regmap β the de-initializer for a component's regmap instance. It's giving "we're done here, pack it up" π§Ήπ
πΈ SYNOPSIS πΈ
void snd_soc_component_exit_regmap (struct snd_soc_component *component
);
Yes bestie, it returns void. No return value, no drama, no notes. π
π¦ ARGUMENTS π¦
componentβ the component whose regmap instance you're about to de-initialize. That's the one, that's the target, no cap π―
β DESCRIPTION β
So what actually happens? It calls regmap_exit on the regmap instance that's associated to the component, and then it removes that regmap instance from the component. Clean break, no loose ends. π«Ά
β οΈ Real talk though: this function should only be used if snd_soc_component_init_regmap is what you used to initialize the regmap instance in the first place. Mismatched init/exit? Not the vibe. Don't do it. π
π SEE ALSO π
Kernel file ./sound/soc/soc-component.c, plus the whole friend group:
snd_soc_component_set_sysclk(9)snd_soc_component_set_jack(9)snd_soc_component_get_jack_type(9)snd_soc_component_init_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)
π That's the whole page, bestie β you ate. This little gem lives under ./sound/soc, it's from the October 2026 drop, and it's page snd_soc_com..._exit_regmap(9) of the Kernel API Manual. Go forth and de-initialize responsibly πβ¨π
π¦ 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