aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/skl-sst.c
diff options
context:
space:
mode:
authorJayachandran B <jayachandran.b@intel.com>2016-06-13 17:59:01 +0530
committerMark Brown <broonie@kernel.org>2016-06-14 14:59:33 +0100
commit1665c177abf40338e7b5f1ae465d3aaabe5af9d0 (patch)
tree61ec443fe873056cd6c2b9798db328d36a8bd4f4 /sound/soc/intel/skylake/skl-sst.c
parentASoC: Intel: Update ignore suspend for bxt-rt298 (diff)
downloadlinux-dev-1665c177abf40338e7b5f1ae465d3aaabe5af9d0.tar.xz
linux-dev-1665c177abf40338e7b5f1ae465d3aaabe5af9d0.zip
ASoC: Intel: Skylake: Enable firmware reload in suspend
Broxton DSP needs retains code loaded during runtime_pm cycles. But it looses that on suspend cycle, so on resume we need to download the firmware again. This is done by adding a new flag and based on flag status, we download the firmware. Signed-off-by: Jayachandran B <jayachandran.b@intel.com> Signed-off-by: Senthilnathan Veppur <senthilnathanx.veppur@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl-sst.c')
-rw-r--r--sound/soc/intel/skylake/skl-sst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-sst.c b/sound/soc/intel/skylake/skl-sst.c
index 4cabae54a71e..dff1076a5f9e 100644
--- a/sound/soc/intel/skylake/skl-sst.c
+++ b/sound/soc/intel/skylake/skl-sst.c
@@ -153,6 +153,7 @@ static int skl_load_base_firmware(struct sst_dsp *ctx)
dev_dbg(ctx->dev, "Download firmware successful%d\n", ret);
skl_dsp_set_state_locked(ctx, SKL_DSP_RUNNING);
+ skl->fw_loaded = true;
}
return 0;
transfer_firmware_failed: