[alsa-devel] [PATCH v5 02/13] soundwire: Add support for SoundWire stream management
Pierre-Louis Bossart
pierre-louis.bossart at linux.intel.com
Thu Apr 26 01:46:25 CEST 2018
> +/**
> + * 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,
More information about the Alsa-devel
mailing list