Re: [PATCH v2] HID: i2c-hid: wait for i2c touchpad deep-sleep to power-up transition

From: Kenny Levinsen
Date: Mon Apr 15 2024 - 13:14:55 EST


On 4/15/24 3:22 PM, Johan Hovold wrote:
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.

I sent a patch series[0] that shows how the same can be achieved (gracefully handling missing device + retry to wake device) without any smbus probes, following the existing retry style in i2c_hid_set_power().

Radoslaw and Lukasz, it somehow felt rude to tag and blame you for code you hadn't seen yet. If my patch ends up favored we should make sure to have the appropriate attribution tags added...

[0]: https://lore.kernel.org/all/20240415170517.18780-1-kl@xxxxxx/