diff options
| author | Josua Mayer <josua@solid-run.com> | 2025-12-18 21:38:55 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-12-18 21:46:55 -0800 |
| commit | a2c5ea4235b18781c3926bbb983d8314c45d6345 (patch) | |
| tree | 4aa88d768c6cac5dd8415020cd6164fc0ff8076a /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | ec8fce2a57e96e07d82d4e884430c2cb6c048998 (diff) | |
Input: ilitek_ts_i2c - fix warning with gpio controllers that sleep
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@solid-run.com>
Link: https://patch.msgid.link/20251201-imx8mp-hb-iiot-v4-2-53a4cd6c21bf@solid-run.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
