snd_soc_com...e_bits_async(9)
β¨ snd_soc_component_update_bits_async β¨
okay bestie, so this one's from the Kernel API Manual, section 9 β and yes the header on this page is literally snd_soc_com...e_bits_async(9) because somebody's terminal was too narrow to hold the whole thing. iconic behaviour, honestly. the full name is snd_soc_component_update_bits_async and it's about to eat, so let's go π
πΈ NAME πΈ
snd_soc_component_update_bits_async β do a read/modify/write cycle, but asynchronously π¦
π SYNOPSIS π
int snd_soc_component_update_bits_async (struct snd_soc_component
*component , unsigned int reg , unsigned int mask , unsigned int val );
π ARGUMENTS π
componentβ the component you're updating, your main character π«Άregβ the register you're updating, like the exact address of the vibemaskβ the mask that says which bits you're touching. not all of them. just these. boundaries, queen β¨valβ the new value for the bits thatmaskpicked out
π₯ DESCRIPTION π₯
so basically this function is the sibling of snd_soc_component_update_bits, except the update operation is scheduled asynchronously. that means, and I need you to hear me on this, it may not be completed by the time the function returns π
like, the function has already left the group chat and the update is still typing.
if you actually need to be sure every scheduled update has finished, you must call snd_soc_component_async_complete. that's the vibe check. don't skip it, bestie π
β RETURN β
1β the operation was successful and the value of the register changed π0β the operation was successful, but the value did not change. no drama, it's fine π- a negative error code otherwise π
π SEE ALSO π
kernel file ./sound/soc/soc-component.c and honestly 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_exit_regmap(9)snd_soc_component_read(9)snd_soc_component_write(9)snd_soc_component_update_bits(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)
and that's the page, periodt π§ from ./sound/soc, dated October 2026 β the same name up top and at the bottom, we love a consistent queen. 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