소스 검색

Merge "asoc: codecs: Update clk_div_get returned type"

qctecmdr 3 년 전
부모
커밋
79f878ecf9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      asoc/codecs/lpass-cdc/lpass-cdc-tx-macro.c
  2. 1 1
      asoc/codecs/lpass-cdc/lpass-cdc-va-macro.c

+ 1 - 1
asoc/codecs/lpass-cdc/lpass-cdc-tx-macro.c

@@ -1833,7 +1833,7 @@ static int lpass_cdc_tx_macro_clk_div_get(struct snd_soc_component *component)
 	if (!lpass_cdc_tx_macro_get_data(component, &tx_dev, &tx_priv, __func__))
 		return -EINVAL;
 
-	return tx_priv->dmic_clk_div;
+	return (int)tx_priv->dmic_clk_div;
 }
 
 static int lpass_cdc_tx_macro_validate_dmic_sample_rate(u32 dmic_sample_rate,

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

@@ -212,7 +212,7 @@ static int lpass_cdc_va_macro_clk_div_get(struct snd_soc_component *component)
 		return LPASS_CDC_VA_MACRO_CLK_DIV_4;
 
 
-	return va_priv->dmic_clk_div;
+	return (int)va_priv->dmic_clk_div;
 }
 
 static int lpass_cdc_va_macro_mclk_enable(