Re: [PATCH v2 3/6] ASoC: codecs: lpass-wsa-macro: add dapm widgets and route

2020-11-03 Thread Pierre-Louis Bossart
+static bool wsa_macro_adie_lb(struct snd_soc_component *component, +  int interp_idx) +{ +    u16 int_mux_cfg0 = 0, int_mux_cfg1 = 0; these inits are ignored +    u8 int_mux_cfg0_val = 0, int_mux_cfg1_val = 0; these as well +    u8 int_n_inp0 = 0, int_n_inp1 = 0, int_n

Re: [PATCH v2 3/6] ASoC: codecs: lpass-wsa-macro: add dapm widgets and route

2020-11-03 Thread Srinivas Kandagatla
On 29/10/2020 15:52, Pierre-Louis Bossart wrote: +static int wsa_macro_enable_mix_path(struct snd_soc_dapm_widget *w, + struct snd_kcontrol *kcontrol, int event) +{ +    struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); +    u16 gain_reg; +    in

Re: [PATCH v2 3/6] ASoC: codecs: lpass-wsa-macro: add dapm widgets and route

2020-10-29 Thread Pierre-Louis Bossart
+static int wsa_macro_enable_mix_path(struct snd_soc_dapm_widget *w, +struct snd_kcontrol *kcontrol, int event) +{ + struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); + u16 gain_reg; + int offset_val = 0; + int

[PATCH v2 3/6] ASoC: codecs: lpass-wsa-macro: add dapm widgets and route

2020-10-29 Thread Srinivas Kandagatla
This patch adds dapm widgets and routes on this codec Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/lpass-wsa-macro.c | 1006 1 file changed, 1006 insertions(+) diff --git a/sound/soc/codecs/lpass-wsa-macro.c b/sound/soc/codecs/lpass-wsa-macro.c index 753