diff options
author | Guneshwor Singh <guneshwor.o.singh@intel.com> | 2017-08-02 19:21:16 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-03 13:07:26 +0300 |
commit | 2eed1b024a11b497766604ee8f95e22711859af2 (patch) | |
tree | 2f0e6edaaf47f10f1f19a7cc6f799d7fc77a9b8b /sound/soc/intel/skylake/bxt-sst.c | |
parent | a838dcc286754f6ea6bcbee8eb76a5d626642fa7 (diff) | |
download | linux-2eed1b024a11b497766604ee8f95e22711859af2.tar.xz |
ASoC: Intel: Skylake: Move platform specific init to platform dsp_init()
Move ipc_init() from helper function to respective platform's dsp_init()
as ipc_init() per platform can be different.
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/bxt-sst.c')
-rw-r--r-- | sound/soc/intel/skylake/bxt-sst.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/bxt-sst.c b/sound/soc/intel/skylake/bxt-sst.c index c404a42b670a..71042aceb25f 100644 --- a/sound/soc/intel/skylake/bxt-sst.c +++ b/sound/soc/intel/skylake/bxt-sst.c @@ -581,6 +581,10 @@ int bxt_sst_dsp_init(struct device *dev, void __iomem *mmio_base, int irq, sst_dsp_mailbox_init(sst, (BXT_ADSP_SRAM0_BASE + SKL_ADSP_W0_STAT_SZ), SKL_ADSP_W0_UP_SZ, BXT_ADSP_SRAM1_BASE, SKL_ADSP_W1_SZ); + ret = skl_ipc_init(dev, skl); + if (ret) + return ret; + /* set the D0i3 check */ skl->ipc.ops.check_dsp_lp_on = skl_ipc_check_D0i0; |