fsl_dma_hw_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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