[PATCH v1 6/6] ASoC: codecs: lpass-va-macro: add dapm widgets and routes

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Oct 26 21:01:52 CET 2020


> +static int va_dmic_clk_enable(struct snd_soc_component *component,
> +			      u32 dmic, bool enable)
> +{
> +	struct va_macro *va = snd_soc_component_get_drvdata(component);
> +	u8  dmic_clk_en = 0x01;
> +	u16 dmic_clk_reg = 0;
> +	s32 *dmic_clk_cnt = NULL;
> +	u8 *dmic_clk_div = NULL;
> +	u8 freq_change_mask = 0;

the 4 initializations above are ignored, remove?



More information about the Alsa-devel mailing list