diff options
Diffstat (limited to 'sound/soc/intel/sst-dsp-priv.h')
-rw-r--r-- | sound/soc/intel/sst-dsp-priv.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/soc/intel/sst-dsp-priv.h b/sound/soc/intel/sst-dsp-priv.h index fe8e81aad646..ffb308bd81ce 100644 --- a/sound/soc/intel/sst-dsp-priv.h +++ b/sound/soc/intel/sst-dsp-priv.h | |||
@@ -136,7 +136,7 @@ struct sst_module_data { | |||
136 | enum sst_data_type data_type; /* type of module data */ | 136 | enum sst_data_type data_type; /* type of module data */ |
137 | 137 | ||
138 | u32 size; /* size in bytes */ | 138 | u32 size; /* size in bytes */ |
139 | u32 offset; /* offset in FW file */ | 139 | int32_t offset; /* offset in FW file */ |
140 | u32 data_offset; /* offset in ADSP memory space */ | 140 | u32 data_offset; /* offset in ADSP memory space */ |
141 | void *data; /* module data */ | 141 | void *data; /* module data */ |
142 | }; | 142 | }; |
@@ -228,6 +228,7 @@ struct sst_dsp { | |||
228 | spinlock_t spinlock; /* IPC locking */ | 228 | spinlock_t spinlock; /* IPC locking */ |
229 | struct mutex mutex; /* DSP FW lock */ | 229 | struct mutex mutex; /* DSP FW lock */ |
230 | struct device *dev; | 230 | struct device *dev; |
231 | struct device *dma_dev; | ||
231 | void *thread_context; | 232 | void *thread_context; |
232 | int irq; | 233 | int irq; |
233 | u32 id; | 234 | u32 id; |
@@ -283,6 +284,8 @@ struct sst_fw *sst_fw_new(struct sst_dsp *dsp, | |||
283 | const struct firmware *fw, void *private); | 284 | const struct firmware *fw, void *private); |
284 | void sst_fw_free(struct sst_fw *sst_fw); | 285 | void sst_fw_free(struct sst_fw *sst_fw); |
285 | void sst_fw_free_all(struct sst_dsp *dsp); | 286 | void sst_fw_free_all(struct sst_dsp *dsp); |
287 | int sst_fw_reload(struct sst_fw *sst_fw); | ||
288 | void sst_fw_unload(struct sst_fw *sst_fw); | ||
286 | 289 | ||
287 | /* Create/Free firmware modules */ | 290 | /* Create/Free firmware modules */ |
288 | struct sst_module *sst_module_new(struct sst_fw *sst_fw, | 291 | struct sst_module *sst_module_new(struct sst_fw *sst_fw, |