aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst-mfld-platform.h
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2015-05-06 22:06:41 +0530
committerMark Brown <broonie@kernel.org>2015-05-06 19:50:22 +0100
commit5749d70edc2796606dfea3b6b6b5524607634453 (patch)
tree333959d5d09c8978ad54feec10139d0faa104c61 /sound/soc/intel/atom/sst-mfld-platform.h
parentASoC: Intel: add frame and data polarity to ssp config (diff)
downloadlinux-dev-5749d70edc2796606dfea3b6b6b5524607634453.tar.xz
linux-dev-5749d70edc2796606dfea3b6b6b5524607634453.zip
ASoC: Intel: use local values for ssp configuration
So right now SSP configuration is statically coded in the driver. While we would like to keep this configuration intact for the users who are using these defaults, we need to provide a way for users to program it. So create a local value in driver structure which is populate with default value for now Signed-off-by: Praveen Diwakar <praveen.diwakar@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/atom/sst-mfld-platform.h')
-rw-r--r--sound/soc/intel/atom/sst-mfld-platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform.h b/sound/soc/intel/atom/sst-mfld-platform.h
index 9094314be2b0..2409b23eeacf 100644
--- a/sound/soc/intel/atom/sst-mfld-platform.h
+++ b/sound/soc/intel/atom/sst-mfld-platform.h
@@ -22,6 +22,7 @@
#define __SST_PLATFORMDRV_H__
#include "sst-mfld-dsp.h"
+#include "sst-atom-controls.h"
extern struct sst_device *sst;
@@ -175,6 +176,7 @@ struct sst_data {
struct snd_sst_bytes_v2 *byte_stream;
struct mutex lock;
struct snd_soc_card *soc_card;
+ struct sst_cmd_sba_hw_set_ssp ssp_cmd;
};
int sst_register_dsp(struct sst_device *sst);
int sst_unregister_dsp(struct sst_device *sst);