OSDN Git Service

ASoC: Intel: uapi: Add new tokens for module common data
authorShreyas NC <shreyas.nc@intel.com>
Wed, 23 Aug 2017 14:03:49 +0000 (19:33 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 25 Aug 2017 13:53:51 +0000 (14:53 +0100)
commit3d52a7924172adf651eda8f1c95ff38146059307
treed937976b43e470ea24e932bffd6e91e26b3afb04
parent9fc129f6e5de01ce5fccf033485e40dfa429b45c
ASoC: Intel: uapi: Add new tokens for module common data

The module private data can be modelled independent of its instances so
that it can be reused by the module instances. So move module data to
common manifest which can be referenced by the module instances.

This requires new tokens to be defined to accommodate these changes. The
new tokens will specify buffer sizes, DSP cycles and respective indexes
corresponding to the pcm params in the topology manifest so that driver
need not compute them.

Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/snd_sst_tokens.h