summaryrefslogtreecommitdiff
path: root/sound/soc/intel/atom/sst/sst.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-02-19 01:01:41 +0300
committerMark Brown <broonie@kernel.org>2018-03-01 19:22:46 +0300
commitde9833476de7eb1d4b8bdc599cbbd616fb0e1a28 (patch)
treee13c8fbb5593ff5ee3d4784a30db4d36fbc95596 /sound/soc/intel/atom/sst/sst.h
parent8cf732bbd8d6bc9a28ac48c7bac0ccc9f55cb151 (diff)
downloadlinux-de9833476de7eb1d4b8bdc599cbbd616fb0e1a28.tar.xz
ASoC: Intel: sst: Remove unused STREAM_DECODE and STREAM_RESET states
STREAM_DECODE is completely unused, status == STREAM_RESET was checked for, but never set, remove both. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst/sst.h')
-rw-r--r--sound/soc/intel/atom/sst/sst.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/intel/atom/sst/sst.h b/sound/soc/intel/atom/sst/sst.h
index 164b0f674c20..f4fd442080b2 100644
--- a/sound/soc/intel/atom/sst/sst.h
+++ b/sound/soc/intel/atom/sst/sst.h
@@ -65,9 +65,7 @@ enum sst_stream_states {
STREAM_UN_INIT = 0, /* Freed/Not used stream */
STREAM_RUNNING = 1, /* Running */
STREAM_PAUSED = 2, /* Paused stream */
- STREAM_DECODE = 3, /* stream is in decoding only state */
- STREAM_INIT = 4, /* stream init, waiting for data */
- STREAM_RESET = 5, /* force reset on recovery */
+ STREAM_INIT = 3, /* stream init, waiting for data */
};
enum sst_ram_type {