Re: [PATCH v2] HID: i2c-hid: wait for i2c touchpad deep-sleep to power-up transition
From: Johan Hovold
Date: Mon Apr 15 2024 - 09:36:34 EST
On Mon, Apr 15, 2024 at 12:28:28PM +0200, Kenny Levinsen wrote:
> > The problem is that the probe function calling i2c_smbus_read_byte()
> > is not aware that
> > uC on the other end is in a deep sleep state so the first read will
> > fail and so the whole probe.
> Well, the probe was just added to "avoid scary messages", so we could
> just do away with it and fix the "scary messages" instead.
We also use it for devices that may not be populated (e.g. an optional
touchscreen) and in that case we should not print anything.
Johan