ASoC: add definations for compressed operations
authorVinod Koul <vinod.koul@linux.intel.com>
Thu, 16 Aug 2012 11:40:40 +0000 (17:10 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Aug 2012 19:50:37 +0000 (20:50 +0100)
commit4968107786e75f5aaba3c1c8e959ccbae929457f
tree7aa955471bbea40c208f75668d2c17c4b6ab63df
parent6bf6d1af86e7dec914f7916f2a00910650a73469
ASoC: add definations for compressed operations

Here we update the asoc structures to add compress stream definations
First the struct snd_soc_dai_driver adds a new member to indicate if the dai is
compressed or pcm. Next we add a new structre the struct snd_soc_compr_ops in
the struct snd_soc_dai_link. This is to be used for machine driver to perform
any opertaions required for setting up compressed audio streams

next is the compressed data operations, they are added using struct
snd_compr_ops in the struct snd_soc_platform_driver.

Signed-off-by: Namarta Kohli <namartax.kohli@intel.com>
Signed-off-by: Ramesh Babu K V <ramesh.babu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/compress_driver.h
include/sound/soc-dai.h
include/sound/soc.h