ASoC: SOF: ipc: introduce no_stream_position in sof_ipc_stream_params struct
authorMarcin Rajwa <marcin.rajwa@linux.intel.com>
Fri, 27 Sep 2019 20:05:33 +0000 (15:05 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 17:35:09 +0000 (18:35 +0100)
commite3ebfd0ab5b4880bfb6a9f32614c2e389cc3da56
tree9e1de4b06af554c4142d64555a7e5499b569fcc1
parent8692d498d675e2e1433274c5f03b855824f3f35d
ASoC: SOF: ipc: introduce no_stream_position in sof_ipc_stream_params struct

The host period bytes value needs to be passed to firmware.
However current implementation uses this field for different
purpose - to indicate whether FW should send stream position
to the host. Therefore this patch introduces another field
"no_stream_position", a boolean value aimed to store information
about position tracking. This way host_period_bytes preserves its
original value.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof/stream.h