summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-mfld-platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/sst-mfld-platform.h')
-rw-r--r--sound/soc/intel/sst-mfld-platform.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/sound/soc/intel/sst-mfld-platform.h b/sound/soc/intel/sst-mfld-platform.h
index 7092ee3e96a3..19f83ec51613 100644
--- a/sound/soc/intel/sst-mfld-platform.h
+++ b/sound/soc/intel/sst-mfld-platform.h
@@ -120,15 +120,16 @@ struct compress_sst_ops {
};
struct sst_ops {
- int (*open) (struct device *dev, struct snd_sst_params *str_param);
- int (*stream_init) (struct device *dev, struct pcm_stream_info *str_info);
- int (*stream_start) (struct device *dev, int str_id);
- int (*stream_drop) (struct device *dev, int str_id);
- int (*stream_pause) (struct device *dev, int str_id);
- int (*stream_pause_release) (struct device *dev, int str_id);
- int (*stream_read_tstamp) (struct device *dev, struct pcm_stream_info *str_info);
+ int (*open)(struct device *dev, struct snd_sst_params *str_param);
+ int (*stream_init)(struct device *dev, struct pcm_stream_info *str_info);
+ int (*stream_start)(struct device *dev, int str_id);
+ int (*stream_drop)(struct device *dev, int str_id);
+ int (*stream_pause)(struct device *dev, int str_id);
+ int (*stream_pause_release)(struct device *dev, int str_id);
+ int (*stream_read_tstamp)(struct device *dev, struct pcm_stream_info *str_info);
int (*send_byte_stream)(struct device *dev, struct snd_sst_bytes_v2 *bytes);
- int (*close) (struct device *dev, unsigned int str_id);
+ int (*close)(struct device *dev, unsigned int str_id);
+ int (*power)(struct device *dev, bool state);
};
struct sst_runtime_stream {