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

2024-11-10 Thread Aren
On Mon, Nov 04, 2024 at 10:41:11AM +0200, Andy Shevchenko wrote: > On Sat, Nov 02, 2024 at 03:50:43PM -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. Potential > > errors include ENXIO

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

2024-11-04 Thread Andy Shevchenko
On Sat, Nov 02, 2024 at 03:50:43PM -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. Potential > errors include ENXIO (when the chip isn't powered) and ETIMEDOUT (when > the i2c bus isn't pow