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
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
atmel_mxt_ts.c
auo-pixcir-ts.c
bcm_iproc_tsc.c
bu21013_ts.c
bu21029_ts.c
chipone_icn8318.c
chipone_icn8505.c
colibri-vf50-ts.c
cy8ctma140.c
cy8ctmg110_ts.c
cyttsp_core.c
cyttsp_core.h
cyttsp_i2c_common.c
cyttsp_i2c.c
cyttsp_spi.c
cyttsp4_core.c
cyttsp4_core.h
cyttsp4_i2c.c
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
egalax_ts_serial.c
egalax_ts.c
ektf2127.c
elants_i2c.c
elo.c
exc3000.c
fsl-imx25-tcq.c
fujitsu_ts.c
goodix_fwupload.c
goodix.c
goodix.h
gunze.c
hampshire.c
hideep.c
himax_hx83112b.c
hp680_ts_input.c
htcpen.c
hycon-hy46xx.c
hynitron_cstxxx.c
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
iqs7211.c
jornada720_ts.c
Kconfig
lpc32xx_ts.c
mainstone-wm97xx.c
Makefile
max11801_ts.c
mc13783_ts.c
mcs5000_ts.c
melfas_mip4.c
migor_ts.c
mk712.c
mms114.c
msg2638.c
mtouch.c
mxs-lradc-ts.c
novatek-nvt-ts.c
pcap_ts.c
penmount.c
pixcir_i2c_ts.c
raspberrypi-ts.c
raydium_i2c_ts.c
resistive-adc-touch.c
rohm_bu21023.c
s6sy761.c
silead.c Input: silead - Always support 10 fingers 2024-07-25 09:50:43 +02:00
sis_i2c.c
st1232.c
stmfts.c
stmpe-ts.c
sun4i-ts.c
sur40.c
surface3_spi.c
sx8654.c
ti_am335x_tsc.c
touchit213.c
touchright.c
touchwin.c
tps6507x-ts.c
ts4800-ts.c
tsc40.c
tsc200x-core.c
tsc200x-core.h
tsc2004.c
tsc2005.c
tsc2007_core.c
tsc2007_iio.c
tsc2007.h
usbtouchscreen.c
wacom_i2c.c
wacom_w8001.c
wdt87xx_i2c.c
wm97xx-core.c
wm831x-ts.c
wm9705.c
wm9712.c
wm9713.c
zet6223.c
zforce_ts.c
zinitix.c