Re: [PATCH v4 07/17] iio: magnetometer: ak8975: pass conversion timeouts as arguments

From: Jonathan Cameron

Date: Mon May 04 2026 - 11:10:46 EST


On Mon, 4 May 2026 13:33:10 +0200
Joshua Crofts <joshua.crofts1@xxxxxxxxx> wrote:

> On Mon, 4 May 2026 at 11:48, Joshua Crofts via B4 Relay
> <devnull+joshua.crofts1.gmail.com@xxxxxxxxxx> wrote:
> > @@ -708,6 +705,11 @@ static int wait_conversion_complete_interrupt(struct ak8975_data *data)
> > static int ak8975_start_read_axis(struct ak8975_data *data,
> > const struct i2c_client *client)
> > {
> > + int irq_timeout_ms = 100;
> > + int timeout_ms = 500;
> > + int poll_ms = 10;
> > + int ret;
> > +
> > /* Set up the device for taking a sample. */
> > int ret = ak8975_set_mode(data, MODE_ONCE);
>
> BTW, also noticed a redefinition error here.
Given that's one that should have resulted in a build fail
please make sure you build after applying each patch in the
series. Need that for bisection to work and because I might
pick up a partial set.

Thanks,

J
>