ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core
authorJayachandran B <jayachandran.b@intel.com>
Fri, 11 Mar 2016 04:42:51 +0000 (10:12 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 06:02:54 +0000 (13:02 +0700)
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>
sound/soc/intel/skylake/skl-sst-dsp.c
sound/soc/intel/skylake/skl-sst-dsp.h

index 646d10a0d1767cfc21f39244c92128926eae57cd..a5267e8a96e0533bd8671f595f35ce53268b0a7e 100644 (file)
@@ -181,7 +181,7 @@ static int skl_dsp_core_power_down(struct sst_dsp *ctx)
                        "Power down");
 }
 
-static int skl_dsp_enable_core(struct sst_dsp *ctx)
+int skl_dsp_enable_core(struct sst_dsp *ctx)
 {
        int ret;
 
index 676e78be016909739e2800efe9f130ebaaf18cfc..b6e310d49dd682c239dcfcbeacebe875b365de40 100644 (file)
@@ -148,6 +148,7 @@ int skl_cldma_prepare(struct sst_dsp *ctx);
 void skl_dsp_set_state_locked(struct sst_dsp *ctx, int state);
 struct sst_dsp *skl_dsp_ctx_init(struct device *dev,
                struct sst_dsp_device *sst_dev, int irq);
+int skl_dsp_enable_core(struct sst_dsp *ctx);
 int skl_dsp_disable_core(struct sst_dsp *ctx);
 bool is_skl_dsp_running(struct sst_dsp *ctx);
 irqreturn_t skl_dsp_sst_interrupt(int irq, void *dev_id);