linux-stable/drivers/soundwire
Shreyas NC 0aebe40bae soundwire: Fix duplicate stream state assignment
For a SoundWire stream it is expected that a Slave is added to the
stream before Master is added.

So, move the stream state to CONFIGURED after the first Slave is
added and remove the stream state assignment for Master add.
Along with these changes, add additional comments to explain the same.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-08-27 09:49:48 +05:30
..
Kconfig soundwire: intel: Add audio DAI ops 2018-05-11 21:48:07 +05:30
Makefile soundwire: Add support for SoundWire stream management 2018-05-11 21:47:03 +05:30
bus.c soundwire: Add stream configuration APIs 2018-05-11 21:47:06 +05:30
bus.h soundwire: Add bank switch routine 2018-05-11 21:47:05 +05:30
bus_type.c soundwire: Respect all error codes from dev_pm_domain_attach() 2018-05-14 22:58:45 +02:00
cadence_master.c soundwire: cdns: Add stream routines 2018-05-11 21:48:06 +05:30
cadence_master.h soundwire: cdns: Add stream routines 2018-05-11 21:48:06 +05:30
intel.c soundwire: intel: Add audio DAI ops 2018-05-11 21:48:07 +05:30
intel.h soundwire: intel: Add audio DAI ops 2018-05-11 21:48:07 +05:30
intel_init.c soundwire: intel: Add audio DAI ops 2018-05-11 21:48:07 +05:30
mipi_disco.c soundwire: Add MIPI DisCo property helpers 2017-12-19 11:14:57 +01:00
slave.c
stream.c soundwire: Fix duplicate stream state assignment 2018-08-27 09:49:48 +05:30