From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dy1-f181.google.com (mail-dy1-f181.google.com [74.125.82.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 03A602BB1D for ; Tue, 5 May 2026 00:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777940764; cv=none; b=ciyRep8lSrq2C1WayrVs0X11sK6wUgXBa6gcEg8pHRBaRHissnAAVwt+nmvZqDMkljVsWhHD3zwqygLHxX6vogV+S/X2Xqnx6GOx80Ludd5wkgZtPgV2LO0pJoU/KE2zvcuxenhwC9beOIspaNsXGVxsw/aCi/VV7KSy+voAZaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777940764; c=relaxed/simple; bh=X115XF/LafrmdkHmbl4MoI4m0/kJFbRUnh/JSEI0EkI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dbIhPejZgw0r1IwjLZvae1Ob7rA2ojUO6YTNkP3iOMz05zhWRLs79ZJmY8ybkcAXCOJbrneENSVL/9XR6Rrj5Xtggwt3ntr4Wf1oWxXW1OziRNfsUHDKZTX+OvRF0ORiCDtFT6DPeqWLPiR2B9RZHsVYliVawKftKQ0wXgTXJqM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=km7aIOwv; arc=none smtp.client-ip=74.125.82.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="km7aIOwv" Received: by mail-dy1-f181.google.com with SMTP id 5a478bee46e88-2ef84d016d9so6845150eec.0 for ; Mon, 04 May 2026 17:26:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777940762; x=1778545562; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=eykFpQgFUZeLAatgtqrYUzE0cfRpZQld9KUP5h9cwA8=; b=km7aIOwvRJimuODyh8v8ZmY8xSZxrYE41COs/OoPIOi45iHzd0PLl9zAsmynqGob0b JB4L6vX13g2ZtEeaKw8G5OIexWorBWgpniOEW25i3rEbj2+zkV13Dx2M66XNaX0fephf I95P2pFjXZe74pIkzz1HJZX3EPtqJ2bPWrTIX7ev1XocqyYWAP/1LrLXZL2i8CDymDZn hfr9EOx3iGfthaxcNRcBYgtOXXsbSPZl0dMnOlAGjmTGLRcXe4uVu8XbcUYT7up4aE3I WHe3y9zYhG0ZwiR3ZVu4jVuWpokAwUAvZNRc3/8XDYCrtADPFb9AtSAeqe8VH+MJUuOC YJeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777940762; x=1778545562; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eykFpQgFUZeLAatgtqrYUzE0cfRpZQld9KUP5h9cwA8=; b=THIC4dC59AuzbVD6Kqxuifz2z3tEaIFfD6tEHEzJqHCPbboES9Plc72+G6E3kpRdPu +1Gvk0ljQ0i3q6yoqKp0xlWs6zlMQdUFroj01M3/TZ3rLpRLdzLU6dMnfqRnZX5W0bUS Q8Dz2dt0nB8t4NcGdHHckN5EcfzwVpx84TTQZQWt87JW4MJdIBvo91omOCKL0JYv5Gln qnrx9kLtfky3uQl+Aq7DOvpAx+CHdMk0FK3jdMuvViXDXsxGWZ+ppWEAKsThn6XGP4gK PE88+qEdqBfLtqCk58cgt7IbrUh8MSXGuBdwbRcH7M/VvQZTkY5HYA2DQG7r7W92sxxX UCdA== X-Forwarded-Encrypted: i=1; AFNElJ/OHCg0YNnbBAcZqBA9HFGJ+T/V6xh8zJji1J4/KwyExcZedu7gCDsEnGWWQwql4ft3/Izvsu3b+araKYs=@vger.kernel.org X-Gm-Message-State: AOJu0YwBV92gcwfbJEzLQFof4a8vYJwnEYyYFz0QzN6i/QXXThmIODlZ WAhOy3WqaYpr7pX+kxC0jxng7KANT4ppyX7oPaF3qIilTmcRdRvT/hhe X-Gm-Gg: AeBDietOppvpc3V/I6f5vIUQRNTe/qYcTju3yIEqrczMIL1za6dDbo+s7gJ1mz1uSzC 9t7F/Ijl2o7CzC8fdKG95uVxSWOf789wJ16ex5jhh1MYKjz9YbECxeGgUXibEbx6IWnRFM4fegr S4CWBygZnfHcOIgB2Yj3xgs4iB66WRDcCcMlo7N9WLwKa4zEzFqvNv01QiUZYIDOrzYkTGw3peq MJyDrQGFx/I+2nscRCcDmbTJ0TxEoqIcUN9UOcYK+veP7nqZCqP8YtYe955ewjOgnRVy9FYaPhk X+JmIkCGUpqgz/AIptynYCVzMmP58T+DRhDOoy15GAgM1E4DpBacZiGIOWuaSa3Kb5v5y0qTFlS lrb/NNgsAsWPzqKqwHJADE5GzKGzsy33twhL89BDFyhmySnN+ZiUjAsPv3lySfCh9BXj0UDyW6T ZL3bP8zyYd0vxFAulOUe8EWSCp/7LIxdkUgcpwi8YGgebkiPYl37hlfZMhWPzK3ZAo/zloobjU1 qUldZ4ForYxvg== X-Received: by 2002:a05:7300:a18a:b0:2c5:60d0:701e with SMTP id 5a478bee46e88-2efb79cc45amr5796129eec.3.1777940761972; Mon, 04 May 2026 17:26:01 -0700 (PDT) Received: from google.com ([2a00:79e0:2ebe:8:5b87:9b19:32e2:2981]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2ee3c05dc28sm17470773eec.30.2026.05.04.17.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 May 2026 17:26:01 -0700 (PDT) Date: Mon, 4 May 2026 17:25:58 -0700 From: Dmitry Torokhov To: Jonathan Cameron Cc: David Lechner , Nuno =?utf-8?B?U8Oh?= , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Jonathan Cameron , Bartosz Golaszewski Subject: Re: [PATCH v5 0/4] ti-ads7950: fix gpio handling and facelift Message-ID: References: <20260405-ti-ads7950-facelift-v5-0-1f980ed3cf9e@gmail.com> <20260412193856.1300770b@jic23-huawei> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260412193856.1300770b@jic23-huawei> On Sun, Apr 12, 2026 at 07:38:56PM +0100, Jonathan Cameron wrote: > On Sun, 05 Apr 2026 21:39:22 -0700 > Dmitry Torokhov wrote: > > > The original reason for this series is to make sure ti_ads7950_get() > > returns result in range [0, 1] or a negative error code to comply with > > gpiolib requirement. > > > > During review David noticed the fact that the function also clobbers > > gpio state. Fixing that lead to adding cleanups using guard() and devm. > > > Applied to the testing branch of iio.git. I'll rebase that on rc1 once available. > > Thanks for persisting with this. Indeed a nice facelift ;) Jonathan, is there anything else you need me to do? Thanks. -- Dmitry