CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Ricard Wanderlof <[email protected]>
CC: Mark Brown <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   7e57714cd0ad2d5bb90e50b5096a0e671dec1ef3
commit: e9a3b57efd28fe889a98171bdc1e9e0dd7eb9a50 ASoC: codec: tlv320adc3xxx: 
New codec driver
date:   2 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 2 months ago
compiler: nios2-linux-gcc (GCC) 11.2.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> sound/soc/codecs/tlv320adc3xxx.c:845:55: warning: Boolean result is used in 
>> bitwise operation. Clarify expression with parentheses. [clarifyCondition]
         ADC3XXX_GPIO_GPO << ADC3XXX_GPIO_CTRL_CFG_SHIFT |
                                                         ^

vim +845 sound/soc/codecs/tlv320adc3xxx.c

e9a3b57efd28fe Ricard Wanderlof 2021-12-15  834  
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  835  static int 
adc3xxx_gpio_direction_out(struct gpio_chip *chip,
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  836                                 
      unsigned int offset, int value)
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  837  {
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  838         struct adc3xxx *adc3xxx 
= gpiochip_get_data(chip);
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  839  
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  840         /* Set GPIO output 
function. */
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  841         return 
regmap_update_bits(adc3xxx->regmap,
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  842                                 
  adc3xxx_gpio_ctrl_reg[offset],
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  843                                 
  ADC3XXX_GPIO_CTRL_CFG_MASK |
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  844                                 
  ADC3XXX_GPIO_CTRL_OUTPUT_CTRL_MASK,
e9a3b57efd28fe Ricard Wanderlof 2021-12-15 @845                                 
  ADC3XXX_GPIO_GPO << ADC3XXX_GPIO_CTRL_CFG_SHIFT |
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  846                                 
  !!value << ADC3XXX_GPIO_CTRL_OUTPUT_CTRL_SHIFT);
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  847  }
e9a3b57efd28fe Ricard Wanderlof 2021-12-15  848  

---
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