Re: [PATCH v3 5/6] iio: light: stk3310: log error if reading the chip id fails

2024-10-28 Thread Andy Shevchenko
On Mon, Oct 28, 2024 at 11:29:35AM -0400, Aren wrote: > On Mon, Oct 28, 2024 at 04:45:35PM +0200, Andy Shevchenko wrote: > > On Mon, Oct 28, 2024 at 10:19:59AM -0400, Aren Moynihan wrote: > > > If the chip isn't powered, this call is likely to return an error. > > > Without a log here the driver wi

Re: [PATCH v3 5/6] iio: light: stk3310: log error if reading the chip id fails

2024-10-28 Thread Aren
On Mon, Oct 28, 2024 at 04:45:35PM +0200, Andy Shevchenko wrote: > On Mon, Oct 28, 2024 at 10:19:59AM -0400, Aren Moynihan wrote: > > If the chip isn't powered, this call is likely to return an error. > > Without a log here the driver will silently fail to probe. Common errors > > are ENXIO (when t

Re: [PATCH v3 5/6] iio: light: stk3310: log error if reading the chip id fails

2024-10-28 Thread Andy Shevchenko
On Mon, Oct 28, 2024 at 10:19:59AM -0400, Aren Moynihan wrote: > If the chip isn't powered, this call is likely to return an error. > Without a log here the driver will silently fail to probe. Common errors > are ENXIO (when the chip isn't powered) and ETIMEDOUT (when the i2c bus > isn't powered).

[PATCH v3 5/6] iio: light: stk3310: log error if reading the chip id fails

2024-10-28 Thread Aren Moynihan
If the chip isn't powered, this call is likely to return an error. Without a log here the driver will silently fail to probe. Common errors are ENXIO (when the chip isn't powered) and ETIMEDOUT (when the i2c bus isn't powered). Signed-off-by: Aren Moynihan --- Notes: Changes in v2: - us