From 05e59e5fb0064c97a1c10921ecd549f2d4a58565 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 09 Oct 2024 06:14:40 +0000 Subject: [PATCH] add REDIRECT --- 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