clk_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

clk_put β€” the "free the clock source" girlie ✨ like she's literally releasing her grip on the clock handle, no cap

This one lives in the Kernel API Manual (clk_put(9)), bestie β€” it's a kernel-level thing, not your average userland command 🫢


✨ SYNOPSIS ✨

void clk_put (struct clk *clk );

yep that's the whole signature, she's short and sweet πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • clk β€” the clock source. that's it. that's the argument. the clock source in question, the one you're putting down πŸ’…

πŸ’– NOTE πŸ’–

okay so this part is important, like actually read it bestie πŸ™ˆ

  • drivers must make sure that every single clk_enable call they did on this clock source is balanced out by a matching clk_disable call before they go calling this function. balanced, babe. for every enable there's a disable. that's the vibe check βš–οΈ
🚨 and <red>clk_put</red> should not be called from within interrupt context. like, do not. not the move. periodt πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./include/linux/clk.h β€” and honestly the whole clock clique, they all show up together πŸ‘‘:

like I said. the whole clique. go read them, iykyk πŸ“šπŸ’œ


okay that's the page!! πŸ“ this little love letter to the kernel comes from <purple>./include/linux</purple> and it's dated <pink>October 2026</pink>, all about clk_put(9) β€” mwah, slay, see u in the next manpage bestie πŸ’–πŸ§šπŸŒΈ

πŸ“¦ where this page comes from