sdw_release_bus_lock(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sdw_release_bus_lock(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a 9-section page, which means it's a kernel function, and it lives in the SoundWire stream ops corner of the universe πŸŽ€


🌸 NAME 🌸

sdw_release_bus_lock β€” release the bus lock for all Master runtime(s), no cap 🫢


✨ SYNOPSIS ✨

void sdw_release_bus_lock (struct sdw_stream_runtime *stream );

that's it. that's the whole signature. void return, one arg, we move πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • stream β€” a SoundWire stream, aka a struct sdw_stream_runtime *. this is the main character of the operation πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so like, the way that this works: you know that bus_lock you were holding earlier? the one you grabbed while you were off reconfiguring the bus? yeah. this function releases it. πŸ”“

literally "release the previously held bus_lock after reconfiguring the bus." that's the vibe check and it passed 🌈


πŸŽ€ NOTE πŸŽ€

bestie pls read this part πŸ™ˆ β€” this function gets called from SoundWire stream ops, and it's expected that a global lock is held before releasing bus_lock. like, that's the assumption going in. don't come for me if you skip that, okay? 😭

⭐ SEE ALSO ⭐

Kernel file ./drivers/soundwire/stream.c β€” and the whole friend group πŸ’œ


okay and for the sign-off πŸ’« this page comes from ./drivers/soundwire, dated October 2026, and it's filed under sdw_release_bus_lock(9) in the Kernel API Manual β€” periodt, go release that lock bestie, you ate πŸ”₯πŸ‘‘

πŸ“¦ where this page comes from