linux/drivers/input/touchscreen
Dmitry Torokhov 17f5eebf67 Input: ili210x - use kvmalloc() to allocate buffer for firmware update
Allocating a contiguous buffer of 64K may fail if memory is sufficiently
fragmented, and may cause OOM kill of an unrelated process. However we
do not need to have contiguous memory. We also do not need to zero
out the buffer since it will be overwritten with firmware data.

Switch to using kvmalloc() instead of kzalloc().

Link: https://lore.kernel.org/r/20240609234757.610273-1-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-06-28 15:15:08 -07:00
..
88pm860x-ts.c
ad7877.c Input: ad7877 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879-i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
ad7879-spi.c Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879.c Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879.h Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ads7846.c Input: ads7846 - handle HSYNC GPIO 2024-06-21 15:23:50 -07:00
ar1021_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
atmel_mxt_ts.c Linux 6.9 2024-05-27 21:37:18 -07:00
auo-pixcir-ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
bcm_iproc_tsc.c Input: bcm_iproc_tsc - drop of_match_ptr for ID table 2023-03-17 04:17:37 -07:00
bu21013_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
bu21029_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -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: chipone_icn8505 - remove an unused field in struct icn8505_data 2024-05-13 14:09:57 -07:00
colibri-vf50-ts.c
cy8ctma140.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -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 Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
cyttsp_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -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: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
cyttsp4_spi.c
cyttsp5.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
da9034-ts.c
da9052_tsi.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
dynapro.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
edt-ft5x06.c Input: edt-ft5x06 - add ft5426 2024-06-22 01:29:17 -07:00
eeti_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
egalax_ts_serial.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
egalax_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
ektf2127.c Input: ektf2127 - add ektf2232 support 2024-06-22 00:58:44 -07:00
elants_i2c.c Input: elants_i2c - use device core to create driver-specific device attributes 2023-09-06 14:27:18 -07:00
elo.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
exc3000.c Merge branch 'next' into for-linus 2023-11-06 15:42:08 -08:00
fsl-imx25-tcq.c
fujitsu_ts.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
goodix_berlin_core.c Input: add core support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
goodix_berlin_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
goodix_berlin_spi.c Input: goodix_berlin - use __free() cleanup in SPI transport 2024-06-28 15:09:05 -07:00
goodix_berlin.h Input: add core support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
goodix_fwupload.c
goodix.c Linux 6.9 2024-05-27 21:37:18 -07:00
goodix.h
gunze.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
hampshire.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
hideep.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
himax_hx83112b.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
hp680_ts_input.c
htcpen.c
hycon-hy46xx.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08: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-06-28 15:15:08 -07:00
ilitek_ts_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
imagis.c Input: imagis - add touch key support 2024-03-10 14:38:04 -07:00
imx6ul_tsc.c
inexio.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
ipaq-micro-ts.c
iqs5xx.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08:00
iqs7211.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08:00
jornada720_ts.c
Kconfig Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
lpc32xx_ts.c Input: lpc32xx_ts - convert to use devm_* api 2023-07-10 17:44:30 -07:00
mainstone-wm97xx.c Input: mainstone-wm97xx - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
Makefile Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
max11801_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mc13783_ts.c Input: mc13783_ts - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
mcs5000_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
melfas_mip4.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
migor_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mk712.c
mms114.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
msg2638.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mtouch.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
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 Input: pcap_ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
penmount.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
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: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -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: rohm_bu21023 - switch to using cleanup functions 2024-06-28 15:14:41 -07:00
s6sy761.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
silead.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
sis_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
st1232.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmfts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
stmpe-ts.c Input: stmpe-ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
sun4i-ts.c Input: sun4i-ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
sur40.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
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: ti_am335x_tsc - remove redundant assignment to variable config 2024-02-09 10:53:24 -08:00
touchit213.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
touchright.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
touchwin.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
tps6507x-ts.c
ts4800-ts.c
tsc40.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
tsc200x-core.c Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc200x-core.h Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc2004.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
tsc2005.c Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc2007_core.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
tsc2007_iio.c
tsc2007.h
usbtouchscreen.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
wacom_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
wacom_w8001.c Input: wacom_w8001 - use "guard" notation when acquiring mutex 2024-06-28 15:06:29 -07:00
wdt87xx_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
wm97xx-core.c Input: wm97xx-core - convert to platform remove callback returning void 2023-09-23 19:28:17 -07:00
wm831x-ts.c Input: wm831x-ts - convert to platform remove callback returning void 2023-09-23 19:28:17 -07:00
wm9705.c
wm9712.c
wm9713.c
zet6223.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
zforce_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
zinitix.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00