p1022_rdk_machine_remove(9)
π p1022_rdk_machine_remove(9) π
okay bestie, welcome to the Kernel API Manual β¨ today we're looking at p1022_rdk_machine_remove β yes that's a whole mouthful, iykyk β and honestly? it's giving "cleanup era" and we're obsessed π
β¨ NAME β¨
p1022_rdk_machine_remove β the girl whose entire job is removing the sound device π«Ά like she shows up at the end of the party and takes the aux cord back. iconic behaviour, no notes π
πΈ SYNOPSIS πΈ
int p1022_rdk_machine_remove (struct snd_soc_card *card );
π¦ ARGUMENTS π¦
cardβ an ASoC card instance π³ that's it, that's the whole vibe check. one (1) card, hand it over, we'll handle the rest.
π DESCRIPTION π
so here's the tea β this function gets called to remove the sound device for one SSI. one SSI, not all of them, don't be dramatic π.
and what does she actually do while she's there? we de-program the DMACR and PMUXCR registers β¨π§Ή β like unplugging the fairy lights after the party so nothing's left humming in the background. lowkey the most responsible main character energy honestly π§
β RETURN β
0on success π slay, everything's clean- a negative errno value on error π which likeβ¦ rude, but okay, at least she tells you
π SEE ALSO π
- the kernel file
./sound/soc/fsl/p1022_rdk.cπ (the mothership, go read her fr fr) p1022_rdk_machine_probe(9)p1022_rdk_startup(9)p1022_rdk_probe(9)p1022_rdk_remove(9)p1022_rdk_init(9)p1022_rdk_exit(9)
the whole friend group π go say hi to all of them, they're all in ./sound/soc/fsl together π«Ά
ngl if you got all the way down here you're literally a kernel girlie now π periodt π
mwah π this page lives in ./sound/soc/fsl, dated October 2026, and it's part of the Kernel API Manual β take care of her, she's iconic πΈβ¨
π¦ 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