Johan Hovold
8e9faa1546
HID: cp2112: fix gpio-callback error handling
...
In case of a zero-length report, the gpio direction_input callback would
currently return success instead of an errno.
Fixes: 1ffb3c40ffb5 ("HID: cp2112: make transfer buffers DMA capable")
Cc: stable <stable@vger.kernel.org> # 4.9
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2017-01-31 12:59:33 +01:00
..
2017-01-11 21:55:35 +01:00
2016-12-14 10:12:26 +01:00
2017-01-26 21:53:26 +01:00
2013-07-31 10:12:28 +02:00
2016-10-07 09:59:48 +02:00
2016-07-11 17:41:31 +02:00
2015-11-05 09:51:50 -08:00
2016-12-19 11:27:09 +01:00
2015-10-21 13:15:53 +02:00
2013-11-12 19:06:23 +01:00
2013-01-03 10:27:31 +01:00
2014-12-22 15:00:25 +01:00
2014-08-21 10:43:28 -05:00
2015-07-29 14:12:26 +02:00
2016-03-02 10:31:36 +01:00
2017-01-05 14:28:32 +01:00
2017-01-13 11:59:32 +01:00
2017-01-31 12:59:33 +01:00
2017-01-06 16:06:43 +01:00
2015-11-27 00:02:59 +01:00
2016-10-10 10:52:01 +02:00
2015-10-21 13:15:53 +02:00
2016-06-01 14:08:17 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-02-25 13:26:41 +01:00
2015-08-18 15:03:43 +02:00
2013-01-03 10:27:31 +01:00
2015-11-05 10:15:35 -08:00
2015-12-28 13:41:44 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-09-08 09:48:56 +02:00
2013-08-05 11:29:57 +02:00
2015-01-26 14:25:41 +01:00
2013-04-24 16:32:27 +02:00
2017-01-26 21:53:26 +01:00
2016-12-14 10:12:26 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2016-09-19 14:32:22 +02:00
2013-01-03 10:27:31 +01:00
2016-10-10 10:47:03 +02:00
2016-03-29 15:39:36 +02:00
2013-10-09 12:06:02 +02:00
2013-09-13 15:12:39 +02:00
2016-09-26 15:39:56 +02:00
2016-09-26 15:39:54 +02:00
2017-01-26 21:58:16 +01:00
2015-02-18 21:14:54 +01:00
2013-09-13 15:12:39 +02:00
2014-12-17 08:50:12 +01:00
2016-01-28 14:28:39 +01:00
2016-11-23 17:43:25 +01:00
2016-11-03 14:51:29 -06:00
2016-12-14 10:12:26 +01:00
2014-08-21 10:43:28 -05:00
2016-12-14 10:12:26 +01:00
2015-12-28 13:41:44 +01:00
2013-01-03 10:27:31 +01:00
2016-03-10 17:17:26 +01:00
2014-08-21 10:43:28 -05:00
2015-06-29 14:51:12 +02:00
2015-06-29 14:51:12 +02:00
2014-08-27 23:27:10 +02:00
2014-06-30 09:54:22 +02:00
2014-05-14 10:53:56 +09:30
2015-06-29 14:51:12 +02:00
2015-12-28 13:41:44 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2015-06-12 15:04:17 +02:00
2013-01-03 10:27:31 +01:00
2015-12-28 13:41:44 +01:00
2016-11-23 17:43:25 +01:00
2015-12-28 13:41:51 +01:00
2015-12-28 13:41:51 +01:00
2013-10-30 14:17:31 +01:00
2015-12-28 13:41:51 +01:00
2013-03-14 11:50:49 +01:00
2015-12-28 13:41:51 +01:00
2013-04-08 10:33:13 +02:00
2015-12-28 13:41:51 +01:00
2012-11-18 22:58:28 +01:00
2013-10-30 14:17:31 +01:00
2015-12-28 13:41:51 +01:00
2012-11-12 15:30:29 +01:00
2015-12-28 13:41:51 +01:00
2012-10-17 10:44:47 +02:00
2015-12-28 13:41:51 +01:00
2012-11-12 15:30:28 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2016-04-04 09:49:12 +02:00
2016-08-02 16:45:17 +02:00
2013-01-03 10:27:31 +01:00
2016-11-05 16:56:09 +01:00
2017-01-02 14:01:30 +01:00
2015-05-07 10:47:53 +02:00
2016-12-19 15:07:37 +01:00
2013-08-26 13:51:10 +02:00
2015-12-28 13:41:44 +01:00
2014-08-21 10:43:28 -05:00
2015-03-15 10:04:27 -04:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2016-09-19 14:32:24 +02:00
2016-11-15 14:23:17 +01:00
2016-09-19 14:32:21 +02:00
2014-02-17 14:57:17 +01:00
2013-06-03 11:07:06 +02:00
2016-03-18 17:31:38 +01:00
2015-12-28 13:41:44 +01:00
2013-08-26 13:23:04 +02:00
2013-09-13 15:11:34 +02:00
2013-07-31 10:12:28 +02:00
2016-05-17 12:41:22 +02:00
2016-12-14 10:12:26 +01:00
2016-12-14 10:12:26 +01:00
2016-08-31 14:12:35 +02:00
2017-01-19 14:19:25 +01:00
2017-01-26 21:51:10 +01:00
2016-12-09 13:26:25 +01:00
2016-12-09 13:26:24 +01:00