[alsa-devel] [PATCH v2 4/4] ASoC: Intel: Start with all memory banks disabled
Jie Yang
yang.jie at intel.com
Mon Jul 14 11:11:12 CEST 2014
All required banks are enabled during boot procedure.
Signed-off-by: Jie Yang <yang.jie at intel.com>
---
sound/soc/intel/sst-haswell-dsp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/sound/soc/intel/sst-haswell-dsp.c b/sound/soc/intel/sst-haswell-dsp.c
index 61dbf91..1819327 100644
--- a/sound/soc/intel/sst-haswell-dsp.c
+++ b/sound/soc/intel/sst-haswell-dsp.c
@@ -518,8 +518,9 @@ static int hsw_init(struct sst_dsp *sst, struct sst_pdata *pdata)
}
}
- /* set default power gating mask */
- writel(0x0, sst->addr.pci_cfg + SST_VDRTCTL0);
+ /* set default power gating control, enable power gating control for all blocks. that is,
+ can't be accessed, please enable each block before accessing. */
+ writel(0xffffffff, sst->addr.pci_cfg + SST_VDRTCTL0);
return 0;
}
--
1.8.3.2
More information about the Alsa-devel
mailing list