From: Jie Yang Date: Mon, 14 Jul 2014 09:11:12 +0000 (+0800) Subject: ASoC: Intel: Start with all memory banks disabled X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=85e63007bbef7abc7145c807ed59d01738e09d39;p=openwrt%2Fstaging%2Fblogic.git ASoC: Intel: Start with all memory banks disabled All required banks are enabled during boot procedure. Signed-off-by: Jie Yang Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/sst-haswell-dsp.c b/sound/soc/intel/sst-haswell-dsp.c index 40bb0205d5c0..977e29779d11 100644 --- a/sound/soc/intel/sst-haswell-dsp.c +++ b/sound/soc/intel/sst-haswell-dsp.c @@ -505,8 +505,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; }