aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/atom/sst-mfld-platform.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-01-29 02:41:28 +0000
committerMark Brown <broonie@kernel.org>2018-02-12 11:45:09 +0000
commit6840962b0a19c2716f01f4274f24e153c8ca045c (patch)
tree9c5237a8f12311c52605dadf82db9b868cd8dca7 /sound/soc/intel/atom/sst-mfld-platform.h
parentASoC: soc-generic-dmaengine-pcm: replace platform to component (diff)
downloadlinux-dev-6840962b0a19c2716f01f4274f24e153c8ca045c.tar.xz
linux-dev-6840962b0a19c2716f01f4274f24e153c8ca045c.zip
ASoC: intel: atom: replace platform to component
Now platform can be replaced to component, let's do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Tested-by: "Kp, Jeeja" <jeeja.kp@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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst-mfld-platform.h b/sound/soc/intel/atom/sst-mfld-platform.h
index 31a58c25472c..5f729df57bb5 100644
--- a/sound/soc/intel/atom/sst-mfld-platform.h
+++ b/sound/soc/intel/atom/sst-mfld-platform.h
@@ -27,6 +27,8 @@
extern struct sst_device *sst;
extern const struct snd_compr_ops sst_platform_compr_ops;
+#define DRV_NAME "sst"
+
#define SST_MONO 1
#define SST_STEREO 2
#define SST_MAX_CAP 5
@@ -155,7 +157,7 @@ struct sst_device {
struct sst_data;
-int sst_dsp_init_v2_dpcm(struct snd_soc_platform *platform);
+int sst_dsp_init_v2_dpcm(struct snd_soc_component *component);
int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute);
int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable);
int sst_handle_vb_timer(struct snd_soc_dai *dai, bool enable);