diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2014-10-30 16:20:58 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-31 12:51:59 +0000 |
commit | fdcc4a039f0263f4674e363ebed14783b2f0543d (patch) | |
tree | 8d7fce7b0c128306a7a3508c56ec9a2e27169bdc /sound/soc/intel/sst-mfld-platform.h | |
parent | 5794b7ec62d85700d372b07d88eaf71e807f542f (diff) |
ASoC: mfld-compress: implement .power callback
.power callback is required to invoked for compressed audio as well to turn
on/off sst, so invoke them
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform.h')
-rw-r--r-- | sound/soc/intel/sst-mfld-platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-mfld-platform.h b/sound/soc/intel/sst-mfld-platform.h index d41d1c36031..79c8d1246a8 100644 --- a/sound/soc/intel/sst-mfld-platform.h +++ b/sound/soc/intel/sst-mfld-platform.h @@ -117,6 +117,7 @@ struct compress_sst_ops { int (*get_codec_caps)(struct snd_compr_codec_caps *codec); int (*set_metadata)(struct device *dev, unsigned int str_id, struct snd_compr_metadata *mdata); + int (*power)(struct device *dev, bool state); }; struct sst_ops { |