瀏覽代碼

Merge "asoc: codecs: Update types of dmic_clk_enable call"

qctecmdr 2 年之前
父節點
當前提交
caf87b0f27
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      asoc/codecs/lpass-cdc/lpass-cdc-va-macro.c

+ 2 - 2
asoc/codecs/lpass-cdc/lpass-cdc-va-macro.c

@@ -1178,10 +1178,10 @@ static int lpass_cdc_va_macro_enable_dmic(struct snd_soc_dapm_widget *w,
 
 	switch (event) {
 	case SND_SOC_DAPM_PRE_PMU:
-		lpass_cdc_dmic_clk_enable(component, dmic, DMIC_VA, true);
+		lpass_cdc_dmic_clk_enable(component, (u32)dmic, (u32)DMIC_VA, true);
 		break;
 	case SND_SOC_DAPM_POST_PMD:
-		lpass_cdc_dmic_clk_enable(component, dmic, DMIC_VA, false);
+		lpass_cdc_dmic_clk_enable(component, (u32)dmic, (u32)DMIC_VA, false);
 		break;
 	}