diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2020-01-15 00:52:23 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-02-13 11:27:37 +0100 |
commit | 59528807715f81f123631f57446b08219efa7526 (patch) | |
tree | d08345c6de7e2dfc47233f617a7a47690ecd7367 /drivers/leds/leds-rb532.c | |
parent | Linux 5.6-rc1 (diff) | |
download | linux-59528807715f81f123631f57446b08219efa7526.tar.xz linux-59528807715f81f123631f57446b08219efa7526.zip |
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 'drivers/leds/leds-rb532.c')
0 files changed, 0 insertions, 0 deletions