forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/codecs/tlv320adcx140.c
....@@ -870,7 +870,7 @@
870870
871871 gpio_count = device_property_count_u32(adcx140->dev,
872872 "ti,gpio-config");
873
- if (gpio_count == 0)
873
+ if (gpio_count <= 0)
874874 return 0;
875875
876876 if (gpio_count != ADCX140_NUM_GPIO_CFGS)