Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp264935pxk; Sun, 30 Aug 2020 02:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHQSJ9DkZQDoL0e9RFFJP92OL+scXGgc8LPldlpNEv3GdwSENeYzoAeMEEvMQWHxun8wr6 X-Received: by 2002:a17:907:b0d:: with SMTP id h13mr6124789ejl.368.1598779649004; Sun, 30 Aug 2020 02:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598779648; cv=none; d=google.com; s=arc-20160816; b=gBh/oAGSlTyD8sIE+2m0l6zt01K1kSUbNW0FHfVQErq0197rC2RiWtiCH8/kDluXmP hm32Qby5YnNKVr6w9AYLXn2IXBnFbeZ4pO4yPU4jwdRQmzr/nwmbZgnt0OHZgHbvhD+G Rb5vBXMuHbCEcdUM+J2O07RUXnrPUvjO7b525eZKW4wigkKqG6j3DQ3Y53ujlGV+tnap WVKIH4gRXGzKavDzD/WrojzqWhwSdFsPujVZmt+5xrjdQzZZgVPcKJl7GfzONc/EBI34 BcL9A3/MdBZZkgu/j/VhEBwofzGlteFrv+6vce0ek1ul2iAtmNUziGMoXzPrkJx5Y5Wj hp6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=oK7XyIEieH1G1pBYtLbjvTJbrZ/RrR5fRuhlx/1M+Ro=; b=brhuhKoJw7VfFCbgFYfzrSlzw3e+dyehkIbIjzn2WPRWdqYIwsiUbtxFX4Q5WkL/Dr 09FC1Z53gsvezll7zE++efWMijm80gJSidv+07I0gVInP94MfO2PtJnQL27feV8SKT9x mmIBzjDL5Kvedj4Ek0NC7Eojjdp15+NWWbGpDqYsxUXVJvIbbpSmm1vsI1DvLbUcXGNZ us8wfnYvmjVEz00ius7qgtnviabr/6lQNXBSfqLVsBq3QbvY3bjTSMC6SsxMrswNwOuI DiGcoSYWv6poc9m7S7TsuGL928M51NyHAJORUvcnhuJZ1pkD99aOv0LypxGRN8YG/ixt JJfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q25si2966236edr.402.2020.08.30.02.27.05; Sun, 30 Aug 2020 02:27:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726984AbgH3JZu (ORCPT + 99 others); Sun, 30 Aug 2020 05:25:50 -0400 Received: from foss.arm.com ([217.140.110.172]:49362 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725869AbgH3JZt (ORCPT ); Sun, 30 Aug 2020 05:25:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A31DD31B; Sun, 30 Aug 2020 02:25:48 -0700 (PDT) Received: from [10.37.8.19] (unknown [10.37.8.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 82AE33F68F; Sun, 30 Aug 2020 02:25:47 -0700 (PDT) Subject: Re: [PATCH] iio: adc: rockchip_saradc: Select IIO_TRIGGERED_BUFFER To: Jonathan Cameron Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, xxm@rock-chips.com References: <20200828174242.338068-1-alexandru.elisei@arm.com> <20200829155703.19bf1c9f@archlinux> From: Alexandru Elisei Message-ID: <73cb7fcd-df73-e287-7733-4ce657e5a758@arm.com> Date: Sun, 30 Aug 2020 10:26:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200829155703.19bf1c9f@archlinux> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jonathan, On 8/29/20 3:57 PM, Jonathan Cameron wrote: > On Fri, 28 Aug 2020 18:42:42 +0100 > Alexandru Elisei wrote: > >> Building the Rockchip saradc driver can trigger the following error if the >> driver is compiled into the kernel, but the IIO triggered buffer is not: >> >> aarch64-linux-gnu-ld: drivers/iio/adc/rockchip_saradc.o: in function `rockchip_saradc_probe': >> /path/to/linux/drivers/iio/adc/rockchip_saradc.c:427: undefined reference to `devm_iio_triggered_buffer_setup' >> >> This is because commit 4e130dc7b413 ("iio: adc: rockchip_saradc: Add >> support iio buffers") added support for industrial I/O triggered buffers, >> but didn't update Kconfig to build the required file. Fix that. >> >> Fixes: 4e130dc7b413 ("iio: adc: rockchip_saradc: Add support iio buffers") >> Signed-off-by: Alexandru Elisei > Sorry, I've had a patch queued to fix this for a while, but had a > vacation just after merge window occurred that delayed me sending it out. > > Will send a pull sometime this weekend. > > Jonathan That's great, thank you! Thanks, Alex