On Tue, May 9, 2017 at 9:46 PM, Dmitry Torokhov
wrote:
> That is the point of the patch - we want to fail silently if the device
> is not actually there and fails even the simplest communication. Driver
> core treats ENXIO and ENODEV as special and does not log errors.
Got it, thanks for the exp
On Mon, May 08, 2017 at 10:43:36PM -0300, Fabio Estevam wrote:
> On Mon, May 8, 2017 at 9:45 PM, Dmitry Torokhov
> wrote:
>
> > + /* Make sure there is something at this address */
> > + error = i2c_smbus_read_byte(client);
> > + if (error < 0) {
> > + dev_dbg(&cli
On Mon, May 8, 2017 at 9:45 PM, Dmitry Torokhov
wrote:
> + /* Make sure there is something at this address */
> + error = i2c_smbus_read_byte(client);
> + if (error < 0) {
> + dev_dbg(&client->dev, "nothing at this address: %d\n", error);
> + return -
3 matches
Mail list logo