aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorVladis Dronov <[email protected]>2015-12-01 21:09:17 +0000
committerDmitry Torokhov <[email protected]>2015-12-02 17:35:41 +0000
commit8e20cf2bce122ce9262d6034ee5d5b76fbb92f96 (patch)
treec221c89bcdbd9f2c5cd341ca39a96a9a3cec477f /drivers/fpga/fpga-mgr.c
parentInput: atmel_mxt_ts - add generic platform data for Chromebooks (diff)
downloadkernel-8e20cf2bce122ce9262d6034ee5d5b76fbb92f96.tar.gz
kernel-8e20cf2bce122ce9262d6034ee5d5b76fbb92f96.zip
Input: aiptek - fix crash on detecting device without endpoints
The aiptek driver crashes in aiptek_probe() when a specially crafted USB device without endpoints is detected. This fix adds a check that the device has proper configuration expected by the driver. Also an error return value is changed to more matching one in one of the error paths. Reported-by: Ralf Spenneberg <[email protected]> Signed-off-by: Vladis Dronov <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions