linux-yocto/drivers/input/touchscreen
Mikael Gonella-Bolduc f72f017207 Input: cyttsp5 - fix power control issue on wakeup
commit 7675b5efd8 upstream.

The power control function ignores the "on" argument when setting the
report ID, and thus is always sending HID_POWER_SLEEP. This causes a
problem when trying to wakeup.

Fix by sending the state variable, which contains the proper HID_POWER_ON or
HID_POWER_SLEEP based on the "on" argument.

Fixes: 3c98b8dbdc ("Input: cyttsp5 - implement proper sleep and wakeup procedures")
Cc: stable@vger.kernel.org
Signed-off-by: Mikael Gonella-Bolduc <mgonellabolduc@dimonoff.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20250423135243.1261460-1-hugo@hugovil.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-18 08:24:06 +02:00
..
88pm860x-ts.c
ad7877.c
ad7879-i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ad7879-spi.c
ad7879.c
ad7879.h
ads7846.c Input: ads7846 - fix gpiod allocation 2025-03-22 12:50:45 -07:00
ar1021_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
atmel_mxt_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
auo-pixcir-ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
bcm_iproc_tsc.c
bu21013_ts.c Input: bu21013_ts - use local 'client->dev' variable in probe() 2023-07-07 16:54:30 -07:00
bu21029_ts.c Input: bu21029_ts - use local 'client->dev' variable in probe() 2023-07-07 16:54:30 -07:00
chipone_icn8318.c Input: chipone_icn8318 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
chipone_icn8505.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
colibri-vf50-ts.c
cy8ctma140.c Input: cy8ctma140 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
cy8ctmg110_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp_core.c
cyttsp_core.h
cyttsp_i2c_common.c
cyttsp_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp_spi.c
cyttsp4_core.c Input: cyttsp4_core - change del_timer_sync() to timer_shutdown_sync() 2023-05-01 17:50:16 -07:00
cyttsp4_core.h
cyttsp4_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp4_spi.c
cyttsp5.c Input: cyttsp5 - fix power control issue on wakeup 2025-05-18 08:24:06 +02:00
da9034-ts.c
da9052_tsi.c
dynapro.c
edt-ft5x06.c Input: edt-ft5x06 - fix regmap leak when probe fails 2024-11-08 16:28:25 +01:00
eeti_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
egalax_ts_serial.c
egalax_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ektf2127.c Input: ektf2127 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
elants_i2c.c Input: elants_i2c - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
elo.c
exc3000.c Merge branch 'next' into for-linus 2023-08-30 16:06:38 -07:00
fsl-imx25-tcq.c
fujitsu_ts.c
goodix_fwupload.c
goodix.c Input: goodix - accept ACPI resources with gpio_count == 3 && gpio_int_idx == 0 2024-03-01 13:34:50 +01:00
goodix.h
gunze.c
hampshire.c
hideep.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
himax_hx83112b.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
hp680_ts_input.c
htcpen.c
hycon-hy46xx.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
hynitron_cstxxx.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ili210x.c Input: ili210x - use kvmalloc() to allocate buffer for firmware update 2024-09-12 11:11:31 +02:00
ilitek_ts_i2c.c Input: ilitek_ts_i2c - add report id message validation 2024-10-04 16:29:28 +02:00
imagis.c Input: imagis - use FIELD_GET where applicable 2024-04-13 13:07:37 +02:00
imx6ul_tsc.c
inexio.c
ipaq-micro-ts.c
iqs5xx.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
iqs7211.c Input: iqs7211 - point to match data directly 2023-07-13 12:02:01 -07:00
jornada720_ts.c
Kconfig Input: add support for Azoteq IQS7210A/7211A/E 2023-07-12 14:32:44 -07:00
lpc32xx_ts.c Input: lpc32xx_ts - convert to use devm_* api 2023-07-10 17:44:30 -07:00
mainstone-wm97xx.c
Makefile Input: add support for Azoteq IQS7210A/7211A/E 2023-07-12 14:32:44 -07:00
max11801_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mc13783_ts.c
mcs5000_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
melfas_mip4.c Input: melfas_mip4 - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
migor_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mk712.c
mms114.c Input: mms114 - add support for touch keys 2023-07-18 23:21:23 -07:00
msg2638.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mtouch.c
mxs-lradc-ts.c
novatek-nvt-ts.c Input: novatek-nvt-ts - add touchscreen model number to description 2023-07-10 11:50:38 -07:00
pcap_ts.c
penmount.c
pixcir_i2c_ts.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
raspberrypi-ts.c Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-04-13 23:08:11 -07:00
raydium_i2c_ts.c Input: raydium_i2c_ts - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
resistive-adc-touch.c Input: resistive-adc-touch - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
rohm_bu21023.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
s6sy761.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
silead.c Input: silead - Always support 10 fingers 2024-07-25 09:50:43 +02:00
sis_i2c.c Input: sis_i2c - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
st1232.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmfts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmpe-ts.c
sun4i-ts.c docs: update some straggling Documentation/arm references 2023-06-16 08:31:47 -06:00
sur40.c
surface3_spi.c Input: surface3_spi - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
sx8654.c Input: sx8643 - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
ti_am335x_tsc.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
touchit213.c
touchright.c
touchwin.c
tps6507x-ts.c
ts4800-ts.c
tsc40.c
tsc200x-core.c
tsc200x-core.h
tsc2004.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tsc2005.c
tsc2007_core.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tsc2007_iio.c
tsc2007.h
usbtouchscreen.c
wacom_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
wacom_w8001.c
wdt87xx_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
wm97xx-core.c
wm831x-ts.c
wm9705.c
wm9712.c
wm9713.c
zet6223.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
zforce_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
zinitix.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00