From: Guneshwor Singh Date: Wed, 2 Aug 2017 16:21:19 +0000 (+0530) Subject: ASoC: Intel: cnl: add dsp ops for cannonlake X-Git-Tag: v4.14-rc4~21^2~23^2~17^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b003a345dc67c7a1c468ad8ff10b24d7dd12e12c;p=platform%2Fkernel%2Flinux-rpi3.git ASoC: Intel: cnl: add dsp ops for cannonlake Add cannonlake dsp support by adding its dsp_ops. Signed-off-by: Guneshwor Singh Acked-By: Vinod Koul Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/skylake/skl-messages.c b/sound/soc/intel/skylake/skl-messages.c index c6b60ee..bfb3332 100644 --- a/sound/soc/intel/skylake/skl-messages.c +++ b/sound/soc/intel/skylake/skl-messages.c @@ -22,6 +22,7 @@ #include #include #include "skl-sst-dsp.h" +#include "cnl-sst-dsp.h" #include "skl-sst-ipc.h" #include "skl.h" #include "../common/sst-dsp.h" @@ -231,6 +232,14 @@ static const struct skl_dsp_ops dsp_ops[] = { .init_fw = bxt_sst_init_fw, .cleanup = bxt_sst_dsp_cleanup }, + { + .id = 0x9dc8, + .num_cores = 4, + .loader_ops = bxt_get_loader_ops, + .init = cnl_sst_dsp_init, + .init_fw = cnl_sst_init_fw, + .cleanup = cnl_sst_dsp_cleanup + }, }; const struct skl_dsp_ops *skl_get_dsp_ops(int pci_id)