asoc: codecs: Update clk_div_get returned type
Cast returned u16 value to int in VA/TX macro: clk_div_get to avoid possible data type warnings seen in function caller. Change-Id: I08943a26294ce54a207b739867292c01d090623e Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
99585c50e4
commit
dfab7cf682
@@ -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(
|
||||
|
Reference in New Issue
Block a user