android_kernel_samsung_a7y1.../drivers/input/misc
Johan Hovold 5bdbdd2140 Input: keyspan-remote - fix control-message timeouts
commit ba9a103f40fc4a3ec7558ec9b0b97d4f92034249 upstream.

The driver was issuing synchronous uninterruptible control requests
without using a timeout. This could lead to the driver hanging on probe
due to a malfunctioning (or malicious) device until the device is
physically disconnected. While sleeping in probe the driver prevents
other devices connected to the same hub from being added to (or removed
from) the bus.

The USB upper limit of five seconds per request should be more than
enough.

Fixes: 99f83c9c9ac9 ("[PATCH] USB: add driver for Keyspan Digital Remote")
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>     # 2.6.13
Link: https://lore.kernel.org/r/20200113171715.30621-1-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:44 +02:00
..
88pm80x_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
88pm860x_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ab8500-ponkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad714x-i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad714x-spi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad714x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ad714x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adxl34x-i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adxl34x-spi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adxl34x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
adxl34x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apanel.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arizona-haptics.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ati_remote2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
atlas_btns.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
axp20x-pek.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bfin_rotary.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bma150.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cm109.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cma3000_d0x_i2c.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cma3000_d0x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cma3000_d0x.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cobalt_btns.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9052_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9055_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
da9063_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dm355evm_keys.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
drv260x.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
drv2665.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
drv2667.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
e3x0-button.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
flip_cover.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gp2ap002a00f.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_axis.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_event.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_input.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_matrix.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_output.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio_tilt_polled.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
gpio-beeper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hp_sdc_rtc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ideapad_slidebar.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ims-pcu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ixp4xx-beeper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keychord.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keyspan_remote.c Input: keyspan-remote - fix control-message timeouts 2020-04-07 13:44:44 +02:00
kxtj9.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
m68kspkr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8925_onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max8997_haptic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
max77693-haptic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mc13783-pwrbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mma8450.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mpu3050.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
palmas-pwrbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcap_keys.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcf8574_keypad.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcf50633-input.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pcspkr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm8xxx-vibrator.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm8941-pwrkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pmic8xxx-pwrkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
powermate.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pwm-beeper.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rb532_button.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
regulator-haptic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
retu-pwrbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rotary_encoder.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sgi_btns.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sirfsoc-onkey.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
soc_button_array.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparcspkr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tps65218-pwrbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
twl4030-pwrbutton.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
twl4030-vibra.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
twl6040-vibra.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
uinput.c Input: uinput - add compat ioctl number translation for UI_*_FF_UPLOAD 2020-04-06 19:16:18 +02:00
wistron_btns.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wm831x-on.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
xen-kbdfront.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
yealink.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
yealink.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30