CC: [email protected]
CC: [email protected]
TO: Srinivas Kandagatla <[email protected]>
CC: Mark Brown <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   1c52283265a462a100ae63ddf58b4e5884acde86
commit: 4f692926f562ff48abfcca6b16f36ff8d57473b6 ASoC: codecs: lpass-rx-macro: 
add dapm widgets and route
date:   12 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 12 months ago
config: powerpc64-randconfig-m031-20220120 
(https://download.01.org/0day-ci/archive/20220123/[email protected]/config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

New smatch warnings:
sound/soc/codecs/lpass-rx-macro.c:1476 rx_macro_int_dem_inp_mux_put() error: 
uninitialized symbol 'look_ahead_dly_reg'.
sound/soc/codecs/lpass-rx-macro.c:2187 rx_macro_hd2_control() error: 
uninitialized symbol 'hd2_enable_reg'.
sound/soc/codecs/lpass-rx-macro.c:2188 rx_macro_hd2_control() error: 
uninitialized symbol 'hd2_scale_reg'.

Old smatch warnings:
sound/soc/codecs/lpass-rx-macro.c:1480 rx_macro_int_dem_inp_mux_put() error: 
uninitialized symbol 'look_ahead_dly_reg'.
sound/soc/codecs/lpass-rx-macro.c:2197 rx_macro_hd2_control() error: 
uninitialized symbol 'hd2_scale_reg'.
sound/soc/codecs/lpass-rx-macro.c:2655 rx_macro_enable_echo() error: 
uninitialized symbol 'ec_tx'.

vim +/look_ahead_dly_reg +1476 sound/soc/codecs/lpass-rx-macro.c

af3d54b99764f0 Srinivas Kandagatla 2021-02-11  1457  
4f692926f562ff Srinivas Kandagatla 2021-02-11  1458  static int 
rx_macro_int_dem_inp_mux_put(struct snd_kcontrol *kcontrol,
4f692926f562ff Srinivas Kandagatla 2021-02-11  1459                             
        struct snd_ctl_elem_value *ucontrol)
4f692926f562ff Srinivas Kandagatla 2021-02-11  1460  {
4f692926f562ff Srinivas Kandagatla 2021-02-11  1461     struct 
snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol);
4f692926f562ff Srinivas Kandagatla 2021-02-11  1462     struct 
snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm);
4f692926f562ff Srinivas Kandagatla 2021-02-11  1463     struct soc_enum *e = 
(struct soc_enum *)kcontrol->private_value;
4f692926f562ff Srinivas Kandagatla 2021-02-11  1464     unsigned short 
look_ahead_dly_reg;
4f692926f562ff Srinivas Kandagatla 2021-02-11  1465     unsigned int val;
4f692926f562ff Srinivas Kandagatla 2021-02-11  1466  
4f692926f562ff Srinivas Kandagatla 2021-02-11  1467     val = 
ucontrol->value.enumerated.item[0];
4f692926f562ff Srinivas Kandagatla 2021-02-11  1468  
4f692926f562ff Srinivas Kandagatla 2021-02-11  1469     if (e->reg == 
CDC_RX_RX0_RX_PATH_CFG1)
4f692926f562ff Srinivas Kandagatla 2021-02-11  1470             
look_ahead_dly_reg = CDC_RX_RX0_RX_PATH_CFG0;
4f692926f562ff Srinivas Kandagatla 2021-02-11  1471     else if (e->reg == 
CDC_RX_RX1_RX_PATH_CFG1)
4f692926f562ff Srinivas Kandagatla 2021-02-11  1472             
look_ahead_dly_reg = CDC_RX_RX1_RX_PATH_CFG0;
4f692926f562ff Srinivas Kandagatla 2021-02-11  1473  
4f692926f562ff Srinivas Kandagatla 2021-02-11  1474     /* Set Look Ahead Delay 
*/
4f692926f562ff Srinivas Kandagatla 2021-02-11  1475     if (val)
4f692926f562ff Srinivas Kandagatla 2021-02-11 @1476             
snd_soc_component_update_bits(component, look_ahead_dly_reg,
4f692926f562ff Srinivas Kandagatla 2021-02-11  1477                             
              CDC_RX_DLY_ZN_EN_MASK,
4f692926f562ff Srinivas Kandagatla 2021-02-11  1478                             
              CDC_RX_DLY_ZN_ENABLE);
4f692926f562ff Srinivas Kandagatla 2021-02-11  1479     else
4f692926f562ff Srinivas Kandagatla 2021-02-11  1480             
snd_soc_component_update_bits(component, look_ahead_dly_reg,
4f692926f562ff Srinivas Kandagatla 2021-02-11  1481                             
              CDC_RX_DLY_ZN_EN_MASK, 0);
4f692926f562ff Srinivas Kandagatla 2021-02-11  1482     /* Set DEM INP Select */
4f692926f562ff Srinivas Kandagatla 2021-02-11  1483     return 
snd_soc_dapm_put_enum_double(kcontrol, ucontrol);
4f692926f562ff Srinivas Kandagatla 2021-02-11  1484  }
4f692926f562ff Srinivas Kandagatla 2021-02-11  1485  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to