diff options
| author | Vladis Dronov <[email protected]> | 2015-12-01 21:09:17 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2015-12-02 17:35:41 +0000 |
| commit | 8e20cf2bce122ce9262d6034ee5d5b76fbb92f96 (patch) | |
| tree | c221c89bcdbd9f2c5cd341ca39a96a9a3cec477f /drivers/fpga/fpga-mgr.c | |
| parent | Input: atmel_mxt_ts - add generic platform data for Chromebooks (diff) | |
| download | kernel-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
