kernel/sound/soc/codecs/tlv320adcx140.c
.. .. @@ -870,7 +870,7 @@ 870 870 871 871 gpio_count = device_property_count_u32(adcx140->dev, 872 872 "ti,gpio-config"); 873 - if (gpio_count == 0)873 + if (gpio_count <= 0)874 874 return 0; 875 875 876 876 if (gpio_count != ADCX140_NUM_GPIO_CFGS)