alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: patches.audio@intel.com,
	Jayachandran B <jayachandran.b@intel.com>,
	liam.r.girdwood@linux.intel.com,
	Vinod Koul <vinod.koul@intel.com>,
	GuruprasadX Pawse <guruprasadx.pawse@intel.com>,
	broonie@kernel.org
Subject: [PATCH 3/8] ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core
Date: Fri, 11 Mar 2016 10:12:51 +0530	[thread overview]
Message-ID: <1457671376-18667-4-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1457671376-18667-1-git-send-email-vinod.koul@intel.com>

From: Jayachandran B <jayachandran.b@intel.com>

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>
---
 sound/soc/intel/skylake/skl-sst-dsp.c | 2 +-
 sound/soc/intel/skylake/skl-sst-dsp.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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)
 			"Power down");
 }
 
-static int skl_dsp_enable_core(struct sst_dsp *ctx)
+int skl_dsp_enable_core(struct sst_dsp *ctx)
 {
 	int ret;
 
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);
 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);
-- 
1.9.1

  parent reply	other threads:[~2016-03-11  4:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-11  4:42 [PATCH 0/8] ASoC: Intel: Skylake: Add Broxton DSP support Vinod Koul
2016-03-11  4:42 ` [PATCH 1/8] ASoC: Intel: Skylake: Move module id defines Vinod Koul
2016-03-13  8:15   ` Applied "ASoC: Intel: Skylake: Move module id defines" to the asoc tree Mark Brown
2016-03-11  4:42 ` [PATCH 2/8] ASoC: Intel: Skylake: Fix whitepsace issues Vinod Koul
2016-03-13  8:15   ` Applied "ASoC: Intel: Skylake: Fix whitepsace issues" to the asoc tree Mark Brown
2016-03-11  4:42 ` Vinod Koul [this message]
2016-03-13  8:15   ` Applied "ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core" " Mark Brown
2016-03-11  4:42 ` [PATCH 4/8] ASoC: Intel: add dmabuffer to common sst_dsp Vinod Koul
2016-03-13  8:15   ` Applied "ASoC: Intel: add dmabuffer to common sst_dsp" to the asoc tree Mark Brown
2016-03-11  4:42 ` [PATCH 5/8] ASoC: Intel: Skylake: Move Skylake dsp ops & loader ops Vinod Koul
2016-03-13  8:14   ` Applied "ASoC: Intel: Skylake: Move Skylake dsp ops & loader ops" to the asoc tree Mark Brown
2016-03-11  4:42 ` [PATCH 6/8] ASoC: Intel: Bxtn: Add Broxton PCI ID Vinod Koul
2016-03-13  8:14   ` Applied "ASoC: Intel: Bxtn: Add Broxton PCI ID" to the asoc tree Mark Brown
2016-03-11  4:42 ` [PATCH 7/8] ASoC: hdac_hdmi: Add broxton device ID Vinod Koul
2016-03-13  8:14   ` Applied "ASoC: hdac_hdmi: Add broxton device ID" to the asoc tree Mark Brown
2016-03-11  4:42 ` [PATCH 8/8] ASoC: Intel: Bxtn: Add Broxton DSP support Vinod Koul
2016-03-30 22:28   ` Applied "ASoC: Intel: Bxtn: Add Broxton DSP support" to the asoc tree Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457671376-18667-4-git-send-email-vinod.koul@intel.com \
    --to=vinod.koul@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=guruprasadx.pawse@intel.com \
    --cc=jayachandran.b@intel.com \
    --cc=liam.r.girdwood@linux.intel.com \
    --cc=patches.audio@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).