Re: [PATCH v3 00/13] iio: pressure: mprls0025pa: driver code cleanup
From: Jonathan Cameron
Date: Fri Jan 16 2026 - 14:02:02 EST
On Wed, 14 Jan 2026 19:09:20 +0200
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx> wrote:
> On Wed, Jan 14, 2026 at 06:55:29PM +0200, Petre Rodan wrote:
> > This series contains a collection of patches to the MPR sensor based
> > on feedback I received for other drivers.
> >
> > major changes:
> > - trigger flag fix (define edge direction only in the device tree)
> > - fix SPI timing violation
> > - fix scan_type struct
> > - fix pressure calculation
> > (does not affect users that define a sensor via the pressure-triplet)
> > - stricter check for the status byte + better error return levels
> > - drop the use of devm_kzalloc()
> > - stick to the datasheet parameters while performing the measurement
> > sequence
> >
> > minor changes:
> > - includes added and removed
> > - rename generic 'buffer' variable to 'rx_buf'
> >
> > Tested on two sensors - MPRLS0015PA0000SA and MPRLS0001BA00001A
>
> This version looks good to me,
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
>
> The change I mentioned can be sent as a followup.
>
Applied to the togreg branch of iio.git.
(I wrote this earlier but apparently didn't hit send for some reason)