lkml.org 
[lkml]   [2026]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 07/17] iio: magnetometer: ak8975: pass conversion timeouts as arguments
On Mon, 4 May 2026 13:33:10 +0200
Joshua Crofts <joshua.crofts1@gmail.com> wrote:

> On Mon, 4 May 2026 at 11:48, Joshua Crofts via B4 Relay
> <devnull+joshua.crofts1.gmail.com@kernel.org> 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
>


\
 
 \ /
  Last update: 2026-05-04 17:10    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog