Commit ee4a6ce6 authored by Liam Girdwood's avatar Liam Girdwood Committed by Mark Brown

ASoC: Intel: Fix naming of HMDC register macros.

HMDC is the correct naming for this register.
Signed-off-by: default avatarLiam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: default avatarJie Yang <yang.jie@intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent afdb74fd
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#define SST_CLKCTL 0x78 #define SST_CLKCTL 0x78
#define SST_CSR2 0x80 #define SST_CSR2 0x80
#define SST_LTRC 0xE0 #define SST_LTRC 0xE0
#define SST_HDMC 0xE8 #define SST_HMDC 0xE8
#define SST_SHIM_BEGIN SST_CSR #define SST_SHIM_BEGIN SST_CSR
#define SST_SHIM_END SST_HDMC #define SST_SHIM_END SST_HDMC
...@@ -122,9 +122,9 @@ ...@@ -122,9 +122,9 @@
/* LTRC */ /* LTRC */
#define SST_LTRC_VAL(x) (x << 0) #define SST_LTRC_VAL(x) (x << 0)
/* HDMC */ /* HMDC */
#define SST_HDMC_HDDA0(x) (x << 0) #define SST_HMDC_HDDA0(x) (x << 0)
#define SST_HDMC_HDDA1(x) (x << 7) #define SST_HMDC_HDDA1(x) (x << 7)
/* SST Vendor Defined Registers and bits */ /* SST Vendor Defined Registers and bits */
......
...@@ -269,9 +269,9 @@ static void hsw_boot(struct sst_dsp *sst) ...@@ -269,9 +269,9 @@ static void hsw_boot(struct sst_dsp *sst)
SST_CSR2_SDFD_SSP1); SST_CSR2_SDFD_SSP1);
/* enable DMA engine 0,1 all channels to access host memory */ /* enable DMA engine 0,1 all channels to access host memory */
sst_dsp_shim_update_bits_unlocked(sst, SST_HDMC, sst_dsp_shim_update_bits_unlocked(sst, SST_HMDC,
SST_HDMC_HDDA1(0xff) | SST_HDMC_HDDA0(0xff), SST_HMDC_HDDA1(0xff) | SST_HMDC_HDDA0(0xff),
SST_HDMC_HDDA1(0xff) | SST_HDMC_HDDA0(0xff)); SST_HMDC_HDDA1(0xff) | SST_HMDC_HDDA0(0xff));
/* disable all clock gating */ /* disable all clock gating */
writel(0x0, sst->addr.pci_cfg + SST_VDRTCTL2); writel(0x0, sst->addr.pci_cfg + SST_VDRTCTL2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment