diff options
author | Sanyog Kale <sanyog.r.kale@intel.com> | 2018-04-26 15:08:08 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 18:17:03 +0200 |
commit | 89e590535f32d4bc548bcf266f3b046e50942f6d (patch) | |
tree | c6c3231ccf69f2b9c3443c35124638971be8d117 /drivers/soundwire/bus.c | |
parent | Documentation: soundwire: Add more documentation (diff) | |
download | linux-89e590535f32d4bc548bcf266f3b046e50942f6d.tar.xz linux-89e590535f32d4bc548bcf266f3b046e50942f6d.zip |
soundwire: Add support for SoundWire stream management
This patch adds APIs and relevant stream data structures
for initialization and release of stream.
Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/bus.c')
-rw-r--r-- | drivers/soundwire/bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soundwire/bus.c b/drivers/soundwire/bus.c index d6dc8e7a8614..abf046f6b188 100644 --- a/drivers/soundwire/bus.c +++ b/drivers/soundwire/bus.c @@ -32,6 +32,7 @@ int sdw_add_bus_master(struct sdw_bus *bus) mutex_init(&bus->msg_lock); mutex_init(&bus->bus_lock); INIT_LIST_HEAD(&bus->slaves); + INIT_LIST_HEAD(&bus->m_rt_list); if (bus->ops->read_prop) { ret = bus->ops->read_prop(bus); |