Re: [PATCH 09/12] iio: light: rohm-bu27034: Fix infinite delay on error
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
On Mon, Aug 10, 2026 at 10:54:04AM +0300, Matti Vaittinen wrote: > When reading an integration-time fails, the code will use error code to > compute the sleep time. > > Fix this by using the smallest integration time as a default if > reading fails. ... > +#define BU27034_INT_TIME_MIN 55000 #define BU27034_INT_TIME_US_MIN (55 * USEC_PER_MSEC) ? -- With Best Regards, Andy Shevchenko