sdw_stream_remove_slave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ sdw_stream_remove_slave β€” bestie's guide to the Kernel API Manual ✨

okay so welcome to the Kernel API Manual entry for sdw_stream_remove_slave(9) β€” yes the (9) is giving very much "this is kernel-internal, you're in the right neighborhood" energy πŸ’…


🌸 NAME 🌸

sdw_stream_remove_slave β€” literally just remove slave from sdw_stream, that's the whole vibe 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int sdw_stream_remove_slave (struct sdw_slave *slave , struct
       sdw_stream_runtime *stream );

so she takes two args and hands you back an int. no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • slave β€” your SDW Slave instance, the lil guy in question 🧚
  • stream β€” the SoundWire stream, aka the vibe she's being pulled out of 🌈

πŸ’– DESCRIPTION πŸ’–

so what she actually does: she removes and frees port_rt and slave_rt from a stream. both of them. gone. iconic πŸ’€

but listen β€” if stream is NULL or an ERR_PTR, she does nothing and returns 0. not a crash, not a fuss, just 0. main character restraint, honestly πŸ‘‘

🌟 SEE ALSO 🌟

kernel file ./drivers/soundwire/stream.c and her whole friend group, all of them, no skips πŸ”₯:


and that's the whole page, bestie πŸ“ she lives in ./drivers/soundwire, this is the October 2026 era of the Kernel API Manual, and honestly? periodt. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from