Benjamin Tissoires
e4cf19ffe0
HID: thingm: set the proper error code before leaving
...
In case of an unsupported firmware, the driver bails out without setting
the LEDs interfaces, but forget to set the proper error code.
err is then still equal to 0 and the hid subsytem consider the device
to be in perfect shape.
When removing it, thingm_remove() tries to unbind the rgb LEDs which
has not been created, leading to a segfault.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2014-09-03 23:46:09 +02:00
..
2014-07-29 11:11:31 +02:00
2014-08-06 11:09:53 +02:00
2013-07-31 10:12:28 +02:00
2014-02-06 14:35:18 +01:00
2013-11-21 09:58:19 +01:00
2013-01-03 10:27:31 +01:00
2013-11-12 19:06:23 +01:00
2013-01-03 10:27:31 +01:00
2014-08-21 10:43:28 -05:00
2013-01-03 10:27:31 +01:00
2014-08-06 11:09:53 +02:00
2014-07-29 11:37:38 +02:00
2013-01-03 10:27:31 +01:00
2014-06-03 13:27:24 +02:00
2013-02-25 13:26:41 +01:00
2013-01-03 10:27:31 +01:00
2013-09-25 11:28:50 +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
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-01-16 22:58:43 +01:00
2013-08-05 11:29:57 +02:00
2014-08-12 12:44:59 +02:00
2014-08-04 11:20:20 +02:00
2013-04-24 16:32:27 +02:00
2014-08-06 11:09:53 +02:00
2014-06-03 13:27:24 +02:00
2013-01-03 10:27:31 +01:00
2013-01-03 10:27:31 +01:00
2014-08-21 10:43:28 -05:00
2013-01-03 10:27:31 +01:00
2014-07-29 11:24:47 +02:00
2013-10-09 12:06:02 +02:00
2013-09-13 15:12:39 +02:00
2014-08-15 10:54:13 +02:00
2014-08-21 10:43:28 -05:00
2012-09-25 15:41:02 +02:00
2013-09-13 15:12:39 +02:00
2014-08-25 02:59:51 -05:00
2014-08-25 02:59:51 -05:00
2014-08-27 09:14:39 +02:00
2014-04-07 09:54:43 +02:00
2014-08-21 10:43:28 -05:00
2014-04-24 11:45:56 +02:00
2013-09-04 12:00:23 +02:00
2013-01-03 10:27:31 +01:00
2014-08-21 10:43:28 -05:00
2013-02-25 13:26:41 +01:00
2014-07-25 19:10:43 -03:00
2014-08-27 09:14:39 +02:00
2014-06-30 09:54:22 +02:00
2014-05-14 10:53:56 +09:30
2013-02-25 13:26:41 +01:00
2013-02-25 13:26:41 +01:00
2013-04-30 10:19:07 +02:00
2013-09-04 11:58:32 +02:00
2013-01-03 10:27:31 +01:00
2014-02-14 08:14:09 +01:00
2014-08-14 11:41:56 +02:00
2013-09-06 09:30:36 -07:00
2013-10-30 14:17:31 +01:00
2013-10-30 14:17:31 +01:00
2013-09-06 09:30:36 -07:00
2013-03-14 11:50:49 +01:00
2013-09-30 10:51:31 +02:00
2013-04-08 10:33:13 +02:00
2013-09-30 10:51:31 +02:00
2012-11-18 22:58:28 +01:00
2013-10-30 14:17:31 +01:00
2013-11-04 10:55:20 +01:00
2012-11-12 15:30:29 +01:00
2014-06-27 00:33:44 +02:00
2012-10-17 10:44:47 +02:00
2013-09-30 10:51:31 +02: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
2013-06-18 11:00:36 +02:00
2014-05-20 21:28:42 +02:00
2013-01-03 10:27:31 +01:00
2014-08-12 16:27:22 +02:00
2013-02-25 13:26:41 +01:00
2014-07-30 11:25:22 +02:00
2013-08-26 13:51:10 +02:00
2013-09-13 15:12:28 +02:00
2014-08-21 10:43:28 -05:00
2014-09-03 23:46:09 +02:00
2013-01-03 10:27:31 +01: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
2013-01-03 10:27:31 +01:00
2014-02-17 14:56:50 +01:00
2013-01-03 10:27:31 +01:00
2014-02-17 14:57:17 +01:00
2013-06-03 11:07:06 +02:00
2013-10-30 14:13:29 +01:00
2013-11-15 16:48:22 -08: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
2014-04-01 19:05:09 +02:00
2014-08-06 11:09:53 +02:00
2014-07-29 11:24:46 +02:00
2014-05-27 00:41:05 +02:00