android_kernel_samsung_a7y1.../drivers/input/touchscreen
Johan Hovold 4fdfc15316 Input: sur40 - fix interface sanity checks
commit 6b32391ed675827f8425a414abbc6fbd54ea54fe upstream.

Make sure to use the current alternate setting when verifying the
interface descriptors to avoid binding to an invalid interface.

This in turn could cause the driver to misbehave or trigger a WARN() in
usb_submit_urb() that kernels with panic_on_warn set would choke on.

Fixes: bdb5c57f209c ("Input: add sur40 driver for Samsung SUR40 (aka MS Surface 2.0/Pixelsense)")
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Vladis Dronov <vdronov@redhat.com>
Link: https://lore.kernel.org/r/20191210113737.4016-8-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:44:50 +02:00
..
himax/himax_83102P A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
himax_83xxx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imagis/ist4050 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imagis_30xxh A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imagis_40xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
melfas_mms400 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
melfas_mss100 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
novatek_nt36xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_incell_ts A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_ts A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
stm_fts1ba90a A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
synaptics_td4x00 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zinitix A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
88pm860x-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad7877.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad7879-i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad7879-spi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad7879.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad7879.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ads7846.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ar1021_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atmel_mxt_ts.c Input: atmel_mxt_ts - disable IRQ across suspend 2020-04-07 13:22:43 +02:00
atmel-wm97xx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
auo-pixcir-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bcm_iproc_tsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bu21013_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
chipone_icn8318.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
colibri-vf50-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cy8ctmg110_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp_core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp_core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp_i2c_common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp_spi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp4_core.c Input: cyttsp4_core - fix use after free bug 2020-04-07 12:44:06 +02:00
cyttsp4_core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp4_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cyttsp4_spi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
d2_465_fw.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
d2_fw.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9034-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9052_tsi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dynapro.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
edt-ft5x06.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eeti_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
egalax_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
elants_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
elo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ft6236.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fujitsu_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
goodix.c Input: goodix - add upside-down quirk for Teclast X89 tablet 2020-04-07 12:45:43 +02:00
gunze.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hampshire.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hp680_ts_input.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
htcpen.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ili210x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
imx6ul_tsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
inexio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
intel-mid-touch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ipaq-micro-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jornada720_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lpc32xx_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mainstone-wm97xx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max11801_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mc13783_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mcs5000_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
migor_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mk712.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mms_ts_fw.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mms114.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mms144.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mtouch.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mxt540e.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
of_touchscreen.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcap_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
penmount.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pixcir_i2c_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rohm_bu21023.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
s3c2410_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
st1232.c Input: st1232 - set INPUT_PROP_DIRECT property 2020-04-07 12:32:49 +02:00
stmpe-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sun4i-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sur40.c Input: sur40 - fix interface sanity checks 2020-04-07 13:44:50 +02:00
sx8654.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ti_am335x_tsc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
touchit213.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
touchright.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
touchwin.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tps6507x-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc40.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc200x-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc200x-core.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc2004.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc2005.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tsc2007.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ucb1400_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
usbtouchscreen.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
w90p910_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wacom_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wacom_w8001.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wdt87xx_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm97xx-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm831x-ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm9705.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm9712.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm9713.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zforce_ts.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
zylonite-wm97xx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30