snd_soc_dai_set_bclk_clk(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_soc_dai_set_bclk_clk(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this is the page for snd_soc_dai_set_bclk_clk, and honestly? it's a little baddie. let's get into it πŸŽ€


🌸 NAME 🌸

snd_soc_dai_set_bclk_clk β€” set the BCLK clock for shared clock detection ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

void snd_soc_dai_set_bclk_clk (struct snd_soc_dai *dai , struct clk *bclk );

like, that's the whole vibe. two args, no return value, she just does things πŸ’…


πŸ’– ARGUMENTS πŸ’–

  • dai β€” the DAI. that's it. that's the descriptor. she's the main character here πŸ‘‘
  • bclk β€” the BCLK clock pointer (or NULL to clear it, iykyk 🫢)

⭐ DESCRIPTION ⭐

okay so here's the tea β˜• β€” when multiple DAIs share the same physical BCLK (and yes, that's detected via clk_is_match, no cap πŸ”), the ASoC core will automatically constrain their hw_params so that the resulting BCLK rates are compatible. literally the core doing the matchmaking for you so your clocks don't fight πŸ’€βœ¨

it's giving "group project but everyone actually coordinates" 🧚


πŸ”₯ SEE ALSO πŸ”₯

bestie the whole squad is here, it's a full friend group and they all show up 🫢

Kernel file: ./sound/soc/soc-dai.c


ngl if you're setting a shared BCLK, run that vibe check first β€” compatibility constraints are not a drill 😭

✨ and that's the page, periodt ✨ this icon came from the source at ./sound/soc and it's stamped October 2026 β€” so yeah, she's fresh πŸ“πŸ’œ mwah, go read the other ones, ily πŸŽ€

πŸ“¦ where this page comes from