asoc: codecs: Fix lpass_cdc_dmic_clk_div arg type
Update mode argument type from int to u32 to avoid any potential data loss since input is also u32 type. Change-Id: I9541a7da20d2a22a0066622736268adffde5adbf Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
2e08677b22
incheckning
5be0a8ab7d
@@ -464,7 +464,7 @@ void lpass_cdc_unregister_res_clk(struct device *dev)
|
||||
EXPORT_SYMBOL(lpass_cdc_unregister_res_clk);
|
||||
|
||||
static u8 lpass_cdc_dmic_clk_div_get(struct snd_soc_component *component,
|
||||
int mode)
|
||||
u32 mode)
|
||||
{
|
||||
struct lpass_cdc_priv* priv = snd_soc_component_get_drvdata(component);
|
||||
int macro = (mode ? VA_MACRO : TX_MACRO);
|
||||
|
Referens i nytt ärende
Block a user