Re: [PATCH v5 08/18] iio: magnetometer: ak8975: check if gpiod read was successful

From: Andy Shevchenko

Date: Wed May 06 2026 - 02:56:39 EST


On Tue, May 05, 2026 at 01:46:04PM +0200, Joshua Crofts via B4 Relay wrote:

> Add a check that ensures that valid data has been read from GPIOD. If
> not, log an error and return the negative read value.

...

See the comment on the previous patch, applies to here as well
(to some extent).

--
With Best Regards,
Andy Shevchenko