diff options
-rw-r--r-- | src/soc/intel/skylake/nhlt/dmic.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/skylake/nhlt/dmic.c b/src/soc/intel/skylake/nhlt/dmic.c index 0aadbb20df..6e14891f18 100644 --- a/src/soc/intel/skylake/nhlt/dmic.c +++ b/src/soc/intel/skylake/nhlt/dmic.c @@ -90,6 +90,8 @@ int nhlt_soc_add_dmic_array(struct nhlt *nhlt, int num_channels) num_formats = ARRAY_SIZE(dmic_4ch_cfg); mic_config.array_type = NHLT_MIC_ARRAY_4CH_L_SHAPED; break; + default: + return -1; } if (nhlt_endpoint_append_config(endp, &mic_config, sizeof(mic_config))) |