ASoC: Intel: Skylake: Move module id defines
authorVinod Koul <vinod.koul@intel.com>
Fri, 11 Mar 2016 04:42:49 +0000 (10:12 +0530)
committerMark Brown <broonie@kernel.org>
Sat, 12 Mar 2016 06:02:54 +0000 (13:02 +0700)
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>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst-dsp.h
sound/soc/intel/skylake/skl-sst.c

index cbb40751c37e297227edff2a9f411df2ec998c53..a82c3de1a22858d301bf43eb743ecac9e42411cc 100644 (file)
@@ -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
 
index e26f4746afb7e58a306ea453da996c77571a5431..348a734f8e24258a1782392a4d324b3b2a6dc794 100644 (file)
@@ -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)
This page took 0.027281 seconds and 5 git commands to generate.