Skip to content

soundwire: stream: cleanup of 'stream' support

Bard Liao alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19soundwire: stream: remove unused parameter in sdw_stream_add_slavedrivers/soundwire/stream.c+2 -40 replies
2/19soundwire: stream: add slave runtime to list earlierdrivers/soundwire/stream.c+4 -130 replies
3/19soundwire: stream: simplify check on port rangedrivers/soundwire/stream.c+4 -60 replies
4/19soundwire: stream: add alloc/config/free helpers for portsdrivers/soundwire/stream.c+45 -380 replies
5/19soundwire: stream: split port allocation and configuration loopsdrivers/soundwire/stream.c+8 -00 replies
6/19soundwire: stream: split alloc and config in two functionsdrivers/soundwire/stream.c+37 -120 replies
7/19soundwire: stream: add 'slave' prefix for port range checksdrivers/soundwire/stream.c+11 -110 replies
8/19soundwire: stream: group sdw_port and sdw_master/slave_port functionsdrivers/soundwire/stream.c+120 -1220 replies
9/19soundwire: stream: simplify sdw_alloc_master_rt()drivers/soundwire/stream.c+18 -90 replies
10/19soundwire: stream: split sdw_alloc_master_rt() in alloc and configdrivers/soundwire/stream.c+34 -170 replies
11/19soundwire: stream: move sdw_alloc_slave_rt() before 'master' helpersdrivers/soundwire/stream.c+26 -260 replies
12/19soundwire: stream: split sdw_alloc_slave_rt() in alloc and configdrivers/soundwire/stream.c+25 -100 replies
13/19soundwire: stream: group sdw_stream_ functionsdrivers/soundwire/stream.c+265 -2640 replies
14/19soundwire: stream: rename and move master/slave_rt_free routinesdrivers/soundwire/stream.c+36 -360 replies
15/19soundwire: stream: move list addition to sdw_slave_alloc_rt()drivers/soundwire/stream.c+6 -30 replies
16/19soundwire: stream: separate alloc and config within sdw_stream_add_xxx()drivers/soundwire/stream.c+48 -330 replies
17/19soundwire: stream: introduce sdw_slave_rt_find() helperdrivers/soundwire/stream.c+22 -120 replies
18/19soundwire: stream: sdw_stream_add_ functions can be called multiple timesdrivers/soundwire/stream.c+24 -00 replies
19/19soundwire: stream: make enable/disable/deprepare idempotentdrivers/soundwire/stream.c+15 -00 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

PatchRander Wang
1/19R-b
2/19R-b
3/19R-b
4/19R-b
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19] soundwire: stream: cleanup of 'stream' support

This series revisits the SoundWire 'sdw_stream' support to split allocation and configuration steps. This is necessary if for example the routines are called multiple times from the hw_params stage. This also helps with better error handling.

Pierre-Louis Bossart (19):
soundwire: stream: remove unused parameter in sdw_stream_add_slave
soundwire: stream: add slave runtime to list earlier
soundwire: stream: simplify check on port range
soundwire: stream: add alloc/config/free helpers for ports
soundwire: stream: split port allocation and configuration loops
soundwire: stream: split alloc and config in two functions
soundwire: stream: add 'slave' prefix for port range checks
soundwire: stream: group sdw_port and sdw_master/slave_port functions
soundwire: stream: simplify sdw_alloc_master_rt()
soundwire: stream: split sdw_alloc_master_rt() in alloc and config
soundwire: stream: move sdw_alloc_slave_rt() before 'master' helpers
soundwire: stream: split sdw_alloc_slave_rt() in alloc and config
soundwire: stream: group sdw_stream_ functions
soundwire: stream: rename and move master/slave_rt_free routines
soundwire: stream: move list addition to sdw_slave_alloc_rt()
soundwire: stream: separate alloc and config within
sdw_stream_add_xxx()
soundwire: stream: introduce sdw_slave_rt_find() helper
soundwire: stream: sdw_stream_add_ functions can be called multiple
times
soundwire: stream: make enable/disable/deprepare idempotent

 drivers/soundwire/stream.c | 960 +++++++++++++++++++++----------------
 1 file changed, 547 insertions(+), 413 deletions(-)
Signature · 1 line
2.17.1