From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 20 Feb 2024 01:18:26 +0000 Subject: [PATCH] write in 30M --- 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