ASoC: Intel: Skylake: Add mic-select module type
mic-select module is a DSP module, which is used to select one or more input channels. This patch adds mic-select module type. Signed-off-by: Dharageswari R <dharageswari.r@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
98cf2c03b4
commit
db6879efb9
|
@ -707,6 +707,7 @@ static u16 skl_get_module_param_size(struct skl_sst *ctx,
|
|||
return param_size;
|
||||
|
||||
case SKL_MODULE_TYPE_BASE_OUTFMT:
|
||||
case SKL_MODULE_TYPE_MIC_SELECT:
|
||||
case SKL_MODULE_TYPE_KPB:
|
||||
return sizeof(struct skl_base_outfmt_cfg);
|
||||
|
||||
|
@ -761,6 +762,7 @@ static int skl_set_module_format(struct skl_sst *ctx,
|
|||
break;
|
||||
|
||||
case SKL_MODULE_TYPE_BASE_OUTFMT:
|
||||
case SKL_MODULE_TYPE_MIC_SELECT:
|
||||
case SKL_MODULE_TYPE_KPB:
|
||||
skl_set_base_outfmt_format(ctx, module_config, *param_data);
|
||||
break;
|
||||
|
|
|
@ -82,6 +82,7 @@ enum skl_module_type {
|
|||
SKL_MODULE_TYPE_ALGO,
|
||||
SKL_MODULE_TYPE_BASE_OUTFMT,
|
||||
SKL_MODULE_TYPE_KPB,
|
||||
SKL_MODULE_TYPE_MIC_SELECT,
|
||||
};
|
||||
|
||||
enum skl_core_affinity {
|
||||
|
|
Loading…
Reference in New Issue