Linus Walleij aa9b760cec HID: fix up .raw_event() documentation
The documentation for the .raw_event() callback says that if the
driver return 1, there will be no further processing of the event,
but this is not true, the actual code in hid-core.c looks like this:

  if (hdrv && hdrv->raw_event && hid_match_report(hid, report)) {
           ret = hdrv->raw_event(hid, report, data, size);
           if (ret < 0)
                   goto unlock;
   }

   ret = hid_report_raw_event(hid, type, data, size, interrupt);

The only return value that has any effect on the processing is
a negative error.

Correct this as it seems to confuse people: I found bogus code in
the Razer out-of-tree driver attempting to return 1 here.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2018-11-06 13:59:08 +01:00
..
2018-10-18 15:41:21 -07:00
2018-10-16 11:13:50 +02:00
2018-10-26 10:50:10 -07:00
2018-10-25 17:57:35 -07:00
2018-10-31 16:47:55 -07:00
2018-10-26 07:38:19 -07:00
2018-10-23 01:09:22 +01:00
2018-10-26 08:14:13 -07:00
2018-10-26 07:38:19 -07:00
2018-04-07 12:08:19 -07:00
2018-10-26 08:14:13 -07:00
2018-10-25 06:50:48 -07:00
2018-05-26 09:16:44 +02:00
2018-06-15 18:10:01 -03:00
2018-10-25 11:17:40 -06:00
2018-10-19 13:24:31 -07:00
2018-10-19 13:24:31 -07:00
2018-05-09 17:25:13 +02:00
2018-09-06 15:12:24 -06:00
2018-10-26 16:26:32 -07:00
2018-10-26 16:26:32 -07:00
2018-06-15 18:10:01 -03:00
2018-10-28 13:26:45 -07:00
2018-08-14 13:12:24 -07:00
2018-08-23 13:44:43 -07:00
2018-08-22 10:52:48 -07:00
2018-08-21 18:19:09 -07:00
2018-10-26 08:42:25 -07:00
2018-04-05 14:21:13 -07:00
2018-08-25 13:40:38 -07:00
2018-09-11 14:11:54 +02:00
2018-07-12 10:04:29 -04:00
\n
2018-10-29 09:19:53 -07:00
2018-06-11 10:16:13 -07:00
2018-06-11 10:16:13 -07:00
2018-07-27 09:57:23 +10:00
2018-10-01 08:58:57 -06:00
2018-06-28 20:32:51 +09:00
2018-11-06 13:59:08 +01:00
2018-06-04 10:58:12 -07:00
2018-10-21 10:46:33 -04:00
2018-10-09 07:50:41 +02:00
2018-06-22 13:43:27 +09:00
2018-04-11 10:28:38 -07:00
2018-08-18 11:44:53 -07:00
2018-06-21 12:33:21 +02:00
2018-07-12 21:35:28 +02:00
2018-04-12 09:41:19 -07:00
2018-06-05 08:50:16 -04:00
2018-06-07 17:34:35 -07:00
2018-04-11 10:28:32 -07:00
2018-10-31 08:54:15 -07:00
2018-10-31 08:54:14 -07:00
2018-06-07 17:34:39 -07:00
2018-10-17 13:56:58 -07:00
2018-08-23 16:03:58 -07:00
2018-08-22 10:52:45 -07:00
2018-07-10 17:22:35 +02:00
2018-10-29 10:42:20 -07:00
2018-06-07 17:34:36 -07:00
2018-10-21 10:46:39 -04:00
2018-09-18 17:52:15 -05:00
2018-10-25 06:50:48 -07:00
2018-07-19 11:34:23 +01:00
2018-10-25 06:50:48 -07:00
2018-10-26 16:26:35 -07:00
2018-10-01 23:14:10 -07:00
2018-07-21 10:43:12 -05:00
2018-10-08 22:53:10 +11:00
2018-08-22 10:52:46 -07:00
2018-10-26 16:26:32 -07:00
2018-05-31 00:13:56 +08:00
2018-07-20 01:11:45 +02:00
2018-08-02 17:33:06 -04:00
2018-05-11 17:28:45 -07:00
2018-07-17 09:27:43 +02:00
2018-09-28 14:20:59 +02:00
2018-09-25 20:17:35 -07:00
2018-06-29 08:48:06 -06:00
2018-10-26 16:26:33 -07:00
2018-06-07 17:34:35 -07:00
2018-07-07 17:25:23 +02:00
2018-07-03 09:20:44 +02:00
2018-08-16 12:14:42 -07:00
2018-06-20 11:35:56 +02:00
2018-09-29 22:47:49 -04:00
2018-08-18 11:44:53 -07:00
2018-10-11 09:16:44 -07:00
2018-09-25 20:33:24 +02:00
2018-09-11 14:11:51 +02:00
2018-10-21 10:46:46 -04:00
2018-05-14 09:51:34 -04:00