sdca_irq_free(9)
π sdca_irq_free β free an individual SDCA interrupt
okay so bestie, welcome to the Kernel API Manual page for sdca_irq_free(9) π. yes the page is named after itself, it's giving self-titled album energy, and honestly? iconic. let's get into it β¨
πΈ SYNOPSIS πΈ
void sdca_irq_free (struct device *dev , struct sdca_interrupt_info
*info , int sdca_irq , const char *name , void *data );
that's the whole vibe. one function, five args, returns void (so likeβ¦ nothing, she doesn't report back, she just does the thing π«Ά).
π¦ ARGUMENTS π¦
devβ pointer to thestruct device. yes, that device. the one whose interrupt we're freeing. main character device energy πinfoβ pointer to the interrupt information structure. the receipts, the records, the bookkeeping πsdca_irqβ the SDCA interrupt position. which one we're freeing, like seating a guest but in reverse πͺβ¨nameβ the name to be given to the IRQ. give her a cute name, she deserves one πdataβ a private data pointer that will be passed to the handler. your little side-channel of personal lore, passed along π
β¨ DESCRIPTION β¨
so normally π β like, typically β this whole thing is handled internally by sdca_irq_cleanup. she's got it, she's on it, no notes.
BUT π¨ if a device requires custom IRQ handling, you can call this bad boy manually before calling sdca_irq_cleanup. and here's the cute part: sdca_irq_cleanup will then skip that IRQ whilst processing. lowkey polite of her tbh ππ
so like, the order matters bestie. manually free first, cleanup second, and cleanup knows to leave your custom-handled one alone. no cap, that's the whole deal.
π₯ SEE ALSO π₯
kernel file ./sound/soc/sdca/sdca_interrupts.c β and the whole friend group:
sdca_irq_request(9)sdca_irq_data_populate(9)sdca_irq_populate_early(9)sdca_irq_populate(9)sdca_irq_cleanup(9)sdca_irq_cleanup_late(9)devm_sdca_irq_allocate(9)sdca_irq_enable_early(9)sdca_irq_enable(9)sdca_irq_disable(9)
they're all in the groupchat, go say hi π«Άπ
and that's the page!! π this absolutely slayed its way out of ./sound/soc/sdca in October 2026, brought to you by the Kernel API Manual β mwah, stan the kernel docs, periodt βπ
π
π¦ 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