ASoC: Intel: Skylake: Modify arguments to reuse module transfer function
authorG Kranthi <gudishax.kranthikumar@intel.com>
Tue, 25 Apr 2017 06:48:21 +0000 (12:18 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 26 Apr 2017 14:47:41 +0000 (15:47 +0100)
commit4e0277d226b578be99cf8899fd1442bf11873d12
tree0152b4de12620398df758e64a408006c5925b99a
parentebe8907687c052b36839b5f9ed09005db4fbe83c
ASoC: Intel: Skylake: Modify arguments to reuse module transfer function

Kabylake also uses code loader dma for module load and library load.
skl_transfer_module can be reused. Modify the arguments to include
library index to be passed to lib load ipc and module/lib check to use
correct ipc for lib/module load.

Signed-off-by: G Kranthi <gudishax.kranthikumar@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-sst.c