Pierre-Louis Bossart 5952880771 soundwire: stream: update state machine and add state checks
The state machine and notes don't accurately explain or allow
transitions from STREAM_DEPREPARED and STREAM_DISABLED.

Add more explanations and allow for more transitions as a result of a
trigger_stop(), trigger_suspend() and prepare(), depending on the
ALSA/ASoC layer behavior defined by the INFO_RESUME and INFO_PAUSE
flags.

Also add basic checks to help debug inconsistent states and illegal
state machine transitions.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200114235227.14502-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-02-13 15:57:37 +05:30
..
2019-07-17 06:57:52 -03:00
2019-07-15 11:03:03 -03:00
2019-06-06 16:51:37 +02:00
2019-07-15 11:03:04 -03:00
2019-07-26 08:15:26 -06:00
2019-07-17 06:57:52 -03:00
2019-06-07 11:35:15 -06:00
2016-09-06 09:14:52 -06:00
2016-08-22 14:42:08 -06:00
2019-10-07 09:47:37 -07:00
2018-04-20 19:14:40 -04:00
2016-08-22 14:42:08 -06:00
2016-09-06 09:14:52 -06:00