From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796052243; b=cPR0YYOgJ31e//I/6PQSzDdl0Ks1JOlYJIVPVKUc1sgNSih7n7rAaxT75ALrgeQq1oUs Elj+fLeLQGiYxfw/VF7pevSnb71XpAEq4Klp84Uhmhh7MINqKhDHX8JBwCSxxicnC3S0J 2C8HVv+NRnWu9x9FU5ZU8L5m3oerhsEghpR9E0c9+ebuH2CaBXnsCgR8weZwDQK8htPzp PmuplOi/EzMLO1NFaokkmTNxbEac19EnD4AtPZaeozTLsPk6zzonJpYUGpfZTHo14735C qPyfn9lmK1CyCLBAPO4LdR77CyEJdQ3068Ft6FnaWeXiy7SU186FAl42bxQ0wrfloXg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796052243; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:Cc: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=vMnXIgoZrif8JLI+fCwqVFBOnYm6Ruqyd3XgNP4E4YI=; b=DbngweQVlKvYfucAakeDOVIwessW5gcnUC+6o20FdP2lU8LHbu2jbhUdpXOBHEnLM2on 7bArAuag3gSyXMavEie8Y5+NWpT/ZcxOMRWM8re6mm2NWb66kAGh/6/h1FsfrR1zb3Ri/ lsP9o++sYpuyHJNipmNALhFaz4UAnpkAf2+AAMBlEEU/bynx+0PHdqacJe3Mmliq++xLK m4F2XTePK4etUd0HWOH1DXrbXi8meP7J9hTyhXLV6s8eCBgUzyC+m7LJ/rJ8S6vFYO5J0 JWm48DD7FasTYg7I/jCTLm3oFC1EEMUdySpvSDDruB8dcdOvXh5nJJbVoMECSmFRbQw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VMCciqEz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61EC9606A31C; Mon, 30 Nov 2026 15:24:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VMCciqEz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7231B1F0089F; Mon, 30 Nov 2026 15:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796052242; bh=vMnXIgoZrif8JLI+fCwqVFBOnYm6Ruqyd3XgNP4E4YI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=VMCciqEzZw0jR+Ub5c3ThkNCMWGuLQevr/GOgkJdEGn0CE+cVZFPD7C0mMhxP8UbP 4Q5bE/GPLS7porF6lpPKlphe4W3W22dC+Bf6MIOday++jhZuisSpWGR+bR6/IYaONv +lWYg/daYmbROY+SBhZ75a1L0D2Un2rkBPiNc/5iwEAQlAb5asnHAyCPdUC7Q7TuAg 0jnxg7p094xq3JXudO8xRbYC0N0b+Pon72wR0NFKRETGKePMZPQcijlPQy6TRv4Vws 2i9wHMgNZi99ZdwWyVBLg3mD8grouQvDkp6P10c0WyKJ+4fLqOLqXoVK1Xh+XHpH1I KXEHOo4KkZuaA== Message-ID: Date: Mon, 30 Nov 2026 16:23:58 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Subject: Re: [PATCH] iio: adc: ti-ads112c14: select triggered buffer support To: Pengpeng Hou , jic23@kernel.org Cc: dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org References: <20261130123754.73282-1-hppiscas@163.com> Content-Language: en-US From: Joshua Crofts In-Reply-To: <20261130123754.73282-1-hppiscas@163.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 30-Nov-26 13:37, Pengpeng Hou wrote: > The ADS112C14 buffered-read path uses the IIO triggered-buffer > helpers. Continuous mode also registers and polls an IIO trigger. > TI_ADS112C14 does not select either buffer support or the > triggered-buffer provider, so configurations without another IIO > driver enabling them cannot build the driver. > > Select IIO_BUFFER and IIO_TRIGGERED_BUFFER. The latter also selects > the trigger and kfifo support used by these paths. > > The issue was found by our static-analysis tool and manually reviewed. > > Fixes: 31640de34d5a ("iio: adc: ti-ads112c14: add support for buffered read") > Fixes: 3e274d73aada ("iio: adc: ti-ads112c14: add continuous mode support") > Signed-off-by: Pengpeng Hou > --- Tested-by: Joshua Crofts Reviewed-by: Joshua Crofts -- Kind regards, Joshua Crofts