[PATCH v4 2/8] Input: ilitek_ts_i2c: fix warning with gpio controllers that sleep

Dmitry Torokhov dmitry.torokhov at gmail.com
Thu Dec 18 21:47:41 PST 2025


On Mon, Dec 01, 2025 at 02:07:21PM +0100, Josua Mayer wrote:
> The ilitek touchscreen driver uses the non-sleeping gpiod_set_value
> function for reset.
> 
> Switch to using gpiod_set_value_cansleep() when controlling reset_gpio to
> support GPIO providers that may sleep, such as I2C GPIO expanders.
> 
> Further switch the mdelay calls on the reset path to fsleep (preferred
> in non-atomic contexts).
> 
> This fixes noisy complaints in kernel log for gpio providers that do
> sleep.
> 
> Signed-off-by: Josua Mayer <josua at solid-run.com>

Applied, thank you.

-- 
Dmitry



More information about the linux-arm-kernel mailing list