diff options
author | Jayachandran B <jayachandran.b@intel.com> | 2016-03-10 23:42:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-12 01:02:54 -0500 |
commit | 130e69a4773fb65af284d3fd1f3de762324d06e6 (patch) | |
tree | 01f095477862c236ac390dca0d5974f8e5cc482c | |
parent | a360b623fc5593d896a8762153bacdabfe29dfb9 (diff) |
ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core
The function skl_dsp_enable_core will be called by other parts of
driver so this can no longer be a static function.
Signed-off-by: Jayachandran B <jayachandran.b@intel.com>
Signed-off-by: GuruprasadX Pawse <guruprasadx.pawse@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.c | 2 | ||||
-rw-r--r-- | sound/soc/intel/skylake/skl-sst-dsp.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.c b/sound/soc/intel/skylake/skl-sst-dsp.c index 646d10a0d176..a5267e8a96e0 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.c +++ b/sound/soc/intel/skylake/skl-sst-dsp.c | |||
@@ -181,7 +181,7 @@ static int skl_dsp_core_power_down(struct sst_dsp *ctx) | |||
181 | "Power down"); | 181 | "Power down"); |
182 | } | 182 | } |
183 | 183 | ||
184 | static int skl_dsp_enable_core(struct sst_dsp *ctx) | 184 | int skl_dsp_enable_core(struct sst_dsp *ctx) |
185 | { | 185 | { |
186 | int ret; | 186 | int ret; |
187 | 187 | ||
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.h b/sound/soc/intel/skylake/skl-sst-dsp.h index 676e78be0169..b6e310d49dd6 100644 --- a/sound/soc/intel/skylake/skl-sst-dsp.h +++ b/sound/soc/intel/skylake/skl-sst-dsp.h | |||
@@ -148,6 +148,7 @@ int skl_cldma_prepare(struct sst_dsp *ctx); | |||
148 | void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); | 148 | void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state); |
149 | struct sst_dsp *skl_dsp_ctx_init(struct device *dev, | 149 | struct sst_dsp *skl_dsp_ctx_init(struct device *dev, |
150 | struct sst_dsp_device *sst_dev, int irq); | 150 | struct sst_dsp_device *sst_dev, int irq); |
151 | int skl_dsp_enable_core(struct sst_dsp *ctx); | ||
151 | int skl_dsp_disable_core(struct sst_dsp *ctx); | 152 | int skl_dsp_disable_core(struct sst_dsp *ctx); |
152 | bool is_skl_dsp_running(struct sst_dsp *ctx); | 153 | bool is_skl_dsp_running(struct sst_dsp *ctx); |
153 | irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id); | 154 | irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id); |