diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-15 02:52:23 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-13 13:27:37 +0300 |
commit | 59528807715f81f123631f57446b08219efa7526 (patch) | |
tree | d08345c6de7e2dfc47233f617a7a47690ecd7367 /Documentation/driver-api/fpga | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
download | linux-59528807715f81f123631f57446b08219efa7526.tar.xz |
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>
Diffstat (limited to 'Documentation/driver-api/fpga')
0 files changed, 0 insertions, 0 deletions