From: Vinod Koul <vinod.koul@intel.com>
To: alsa-devel@alsa-project.org
Cc: liam.r.girdwood@linux.intel.com, patches.audio@intel.com,
broonie@kernel.org, Vinod Koul <vinod.koul@intel.com>,
Jeeja KP <jeeja.kp@intel.com>
Subject: [PATCH 1/8] ASoC: Intel: Skylake: Move module id defines
Date: Fri, 11 Mar 2016 10:12:49 +0530 [thread overview]
Message-ID: <1457671376-18667-2-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1457671376-18667-1-git-send-email-vinod.koul@intel.com>
The module ID defines are common to other platforms so can be
reused if moved to a common driver header so move it
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
sound/soc/intel/skylake/skl-sst-dsp.h | 4 ++++
sound/soc/intel/skylake/skl-sst.c | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/sound/soc/intel/skylake/skl-sst-dsp.h b/sound/soc/intel/skylake/skl-sst-dsp.h
index cbb40751c37e..a82c3de1a228 100644
--- a/sound/soc/intel/skylake/skl-sst-dsp.h
+++ b/sound/soc/intel/skylake/skl-sst-dsp.h
@@ -53,6 +53,10 @@ struct sst_dsp_device;
/* HIPCT */
#define SKL_ADSP_REG_HIPCT_BUSY BIT(31)
+/* FW base IDs */
+#define SKL_INSTANCE_ID 0
+#define SKL_BASE_FW_MODULE_ID 0
+
/* Intel HD Audio SRAM Window 1 */
#define SKL_ADSP_SRAM1_BASE 0xA000
diff --git a/sound/soc/intel/skylake/skl-sst.c b/sound/soc/intel/skylake/skl-sst.c
index e26f4746afb7..348a734f8e24 100644
--- a/sound/soc/intel/skylake/skl-sst.c
+++ b/sound/soc/intel/skylake/skl-sst.c
@@ -35,9 +35,6 @@
#define SKL_ADSP_FW_STATUS SKL_ADSP_SRAM0_BASE
#define SKL_ADSP_ERROR_CODE (SKL_ADSP_FW_STATUS + 0x4)
-#define SKL_INSTANCE_ID 0
-#define SKL_BASE_FW_MODULE_ID 0
-
#define SKL_NUM_MODULES 1
static bool skl_check_fw_status(struct sst_dsp *ctx, u32 status)
--
1.9.1
next prev 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 ` Vinod Koul [this message]
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 ` [PATCH 3/8] ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core Vinod Koul
2016-03-13 8:15 ` Applied "ASoC: Intel: Skylake: Unstatify skl_dsp_enable_core" to the asoc tree 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-2-git-send-email-vinod.koul@intel.com \
--to=vinod.koul@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=jeeja.kp@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).