diff options
author | Guneshwor Singh <guneshwor.o.singh@intel.com> | 2017-08-02 12:21:19 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-03 06:07:36 -0400 |
commit | b003a345dc67c7a1c468ad8ff10b24d7dd12e12c (patch) | |
tree | e9ff8b051faf2b8b617cd7ba0b85b99979eecef3 | |
parent | cb6a552846297094aac942a588fe7ed7922a6c11 (diff) |
ASoC: Intel: cnl: add dsp ops for cannonlake
Add cannonlake dsp support by adding its dsp_ops.
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>
-rw-r--r-- | sound/soc/intel/skylake/skl-messages.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index c6b60ee5b196..bfb3332a77ca 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <sound/core.h> | 22 | #include <sound/core.h> |
23 | #include <sound/pcm.h> | 23 | #include <sound/pcm.h> |
24 | #include "skl-sst-dsp.h" | 24 | #include "skl-sst-dsp.h" |
25 | #include "cnl-sst-dsp.h" | ||
25 | #include "skl-sst-ipc.h" | 26 | #include "skl-sst-ipc.h" |
26 | #include "skl.h" | 27 | #include "skl.h" |
27 | #include "../common/sst-dsp.h" | 28 | #include "../common/sst-dsp.h" |
@@ -231,6 +232,14 @@ static const struct skl_dsp_ops dsp_ops[] = { | |||
231 | .init_fw = bxt_sst_init_fw, | 232 | .init_fw = bxt_sst_init_fw, |
232 | .cleanup = bxt_sst_dsp_cleanup | 233 | .cleanup = bxt_sst_dsp_cleanup |
233 | }, | 234 | }, |
235 | { | ||
236 | .id = 0x9dc8, | ||
237 | .num_cores = 4, | ||
238 | .loader_ops = bxt_get_loader_ops, | ||
239 | .init = cnl_sst_dsp_init, | ||
240 | .init_fw = cnl_sst_init_fw, | ||
241 | .cleanup = cnl_sst_dsp_cleanup | ||
242 | }, | ||
234 | }; | 243 | }; |
235 | 244 | ||
236 | const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id) | 245 | const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id) |