sdio_retune_hold_now(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdio_retune_hold_now πŸ’…

ok so this is a page from the Kernel API Manual, and honestly bestie, it's a little two-function wonder that solves a very specific "not right now" problem 🫢


✨ NAME ✨

sdio_retune_hold_now β€” start deferring retuning requests till release 🌸


✨ SYNOPSIS ✨

void sdio_retune_hold_now (struct sdio_func *func );

✨ ARGUMENTS ✨

  • func β€” the SDIO function that's attached to the host πŸ‘‘

✨ DESCRIPTION ✨

okay so picture this: it is currently a bad time to do a retune of the SDIO card πŸ’€ and if that's the case, you can call this function. Any retune requests that get made during this window will be held β€” like, politely waiting in the group chat β€” and we'll actually do the retune sometime after the release. no cap, it just queues them up πŸŽ€

this function could be useful if an SDIO card is in a power state where it can respond to a small subset of commands that doesn't include the retuning command. iykyk 🧚

⚠️ care should be taken when using this function, since (presumably) the retuning request we might be deferring was made for a good reason. like, someone had a reason bestie. respect the reason. πŸ™ˆ

this function should be called while the host is claimed. periodt βœ‹


✨ SEE ALSO ✨

kernel file ./drivers/mmc/core/sdio_io.c β€” and like, the whole squad πŸ’œ


okay that's the whole page!! πŸ’– it lives in ./drivers/mmc/core, it's dated October 2026, and yeah β€” sdio_retune_hold_now(9), that's her, that's the icon πŸ‘‘βœ¨
πŸ“¦ where this page comes from