Skip to content

Commit

Permalink
ASoC: Intel: Reorganize the common dsp structure
Browse files Browse the repository at this point in the history
We will add SKL platform data. So organizing common and platform
specific data helps.

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>
  • Loading branch information
Subhransu S. Prusty authored and Mark Brown committed Jul 8, 2015
1 parent 3582f9a commit f7c765e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions sound/soc/intel/common/sst-dsp-priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ struct sst_mem_block {
*/
struct sst_dsp {

/* Shared for all platforms */

/* runtime */
struct sst_dsp_device *sst_dev;
spinlock_t spinlock; /* IPC locking */
Expand All @@ -268,10 +270,6 @@ struct sst_dsp {
int irq;
u32 id;

/* list of free and used ADSP memory blocks */
struct list_head used_block_list;
struct list_head free_block_list;

/* operations */
struct sst_ops *ops;

Expand All @@ -284,6 +282,12 @@ struct sst_dsp {
/* mailbox */
struct sst_mailbox mailbox;

/* HSW/Byt data */

/* list of free and used ADSP memory blocks */
struct list_head used_block_list;
struct list_head free_block_list;

/* SST FW files loaded and their modules */
struct list_head module_list;
struct list_head fw_list;
Expand Down

0 comments on commit f7c765e

Please sign in to comment.