sdw_release_bus_lock(9)
π 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 astruct 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 π
sdw_program_port_params(9)sdw_enable_disable_slave_ports(9)sdw_enable_disable_ports(9)sdw_prep_deprep_ports(9)sdw_notify_config(9)sdw_program_params(9)sdw_ml_sync_bank_switch(9)sdw_slave_rt_alloc(9)sdw_slave_rt_config(9)sdw_slave_rt_free(9)sdw_master_rt_alloc(9)sdw_master_rt_config(9)sdw_master_rt_free(9)sdw_config_stream(9)sdw_get_slave_dpn_prop(9)sdw_acquire_bus_lock(9)sdw_prepare_stream(9)sdw_enable_stream(9)sdw_disable_stream(9)sdw_deprepare_stream(9)sdw_alloc_stream(9)sdw_startup_stream(9)sdw_shutdown_stream(9)sdw_release_stream(9)sdw_stream_add_master(9)sdw_stream_remove_master(9)sdw_stream_add_slave(9)sdw_stream_remove_slave(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms