From e636c8d336489bf3eed5878299e6cc045bbad077 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:17:29 +0000 Subject: [PATCH] debug lk --- kernel/sound/soc/codecs/tlv320adcx140.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sound/soc/codecs/tlv320adcx140.c b/kernel/sound/soc/codecs/tlv320adcx140.c index 53a8024..a6241a0 100644 --- a/kernel/sound/soc/codecs/tlv320adcx140.c +++ b/kernel/sound/soc/codecs/tlv320adcx140.c @@ -870,7 +870,7 @@ gpio_count = device_property_count_u32(adcx140->dev, "ti,gpio-config"); - if (gpio_count == 0) + if (gpio_count <= 0) return 0; if (gpio_count != ADCX140_NUM_GPIO_CFGS) -- Gitblit v1.6.2