fsl_dma_hw_free(9)
π fsl_dma_hw_free(9) β like, the Kernel API Manual page you've been waiting for π
okay so bestie, welcome to the Kernel API Manual entry for fsl_dma_hw_free(9). pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
fsl_dma_hw_free β the function that releases the resources you allocated in fsl_dma_hw_params(). yes, it's the cleanup bestie. the "we're so done here" era. π
πΈ SYNOPSIS πΈ
int fsl_dma_hw_free (struct snd_soc_component *component , struct
snd_pcm_substream *substream );
like, it takes two things and returns an int. that's the whole vibe. π¦
π«Ά ARGUMENTS π«Ά
componentβ ngl, the original literally just says -- undescribed -- π so we're keeping it 100: it's undescribed. no cap, that's all we got.substreamβ same situation, bestie. -- undescribed -- π the docs did NOT come through on this one.
fr fr, we're not out here making things up. if the manual says undescribed, it's undescribed. π€·ββοΈ
π₯ DESCRIPTION π₯
okay so what it actually does: it releases the resources that were allocated in fsl_dma_hw_params, and it de-programs the registers. the way it just... undoes everything and leaves the registers looking clean. iconic. β¨
and here's the part that's lowkey a slay: this function can be called multiple times. yes bestie, multiple times. it's not one of those "you only get one shot" situations. π
π SEE ALSO π
the whole friend group, in the kernel file ./sound/soc/fsl/fsl_dma.c:
fsl_dma_abort_stream(9)fsl_dma_update_pointers(9)fsl_dma_isr(9)fsl_dma_new(9)fsl_dma_open(9)fsl_dma_hw_params(9)fsl_dma_pointer(9)fsl_dma_close(9)find_ssi_node(9)
go read those too, iykyk π
and that's the page, bestie π this lil masterpiece lives in ./sound/soc/fsl, dated October 2026. mwah, go free those resources. 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