Re: [PATCH v5 0/4] ti-ads7950: fix gpio handling and facelift

From: Jonathan Cameron

Date: Tue May 05 2026 - 05:27:25 EST


On Mon, 4 May 2026 17:25:58 -0700
Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote:

> On Sun, Apr 12, 2026 at 07:38:56PM +0100, Jonathan Cameron wrote:
> > On Sun, 05 Apr 2026 21:39:22 -0700
> > Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> 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?

Don't think so. All queued up now and I don't think we have anything
else outstanding for this one.

Thanks,

Jonathan

>
> Thanks.
>