25 Apr
2018
25 Apr
'18
11:46 p.m.
+/**
- sdw_stream_state: Stream states
- @SDW_STREAM_RELEASED: Stream released
nit-pick: this should go last (not blocker, can be done in follow-up patch).
- @SDW_STREAM_ALLOCATED: New stream allocated.
- @SDW_STREAM_CONFIGURED: Stream configured
- @SDW_STREAM_PREPARED: Stream prepared
- @SDW_STREAM_ENABLED: Stream enabled
- @SDW_STREAM_DISABLED: Stream disabled
- @SDW_STREAM_DEPREPARED: Stream de-prepared
- */
+enum sdw_stream_state {
- SDW_STREAM_ALLOCATED = 0,
- SDW_STREAM_CONFIGURED = 1,
- SDW_STREAM_PREPARED = 2,
- SDW_STREAM_ENABLED = 3,
- SDW_STREAM_DISABLED = 4,
- SDW_STREAM_DEPREPARED = 5,
- SDW_STREAM_RELEASED = 6,