diff options
Diffstat (limited to 'patches/0029-struct_hid_ll_driver-extensions')
-rw-r--r-- | patches/0029-struct_hid_ll_driver-extensions/INFO | 16 | ||||
-rw-r--r-- | patches/0029-struct_hid_ll_driver-extensions/net_bluetooth_hidp_core.patch | 29 |
2 files changed, 45 insertions, 0 deletions
diff --git a/patches/0029-struct_hid_ll_driver-extensions/INFO b/patches/0029-struct_hid_ll_driver-extensions/INFO new file mode 100644 index 00000000..01810115 --- /dev/null +++ b/patches/0029-struct_hid_ll_driver-extensions/INFO @@ -0,0 +1,16 @@ +This is backported because of: + +commit cd4dc0821bc97947f25c8483a4aa0711bff8619a +Author: Frank Praznik <frank.praznik@oh.rr.com> +Date: Wed Jan 22 13:49:41 2014 -0500 + + HID: Add transport-driver callbacks to the hid_ll_driver struct + + Add raw_request and output_report callbacks to the hid_ll_driver struct. + + Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com> + Acked-by: David Herrmann <dh.herrmann@gmail.com> + Signed-off-by: Jiri Kosina <jkosina@suse.cz> + +This did not make it to v3.14, so its only present on linux-next, its +available for example on next-20140409 diff --git a/patches/0029-struct_hid_ll_driver-extensions/net_bluetooth_hidp_core.patch b/patches/0029-struct_hid_ll_driver-extensions/net_bluetooth_hidp_core.patch new file mode 100644 index 00000000..4fa4df6e --- /dev/null +++ b/patches/0029-struct_hid_ll_driver-extensions/net_bluetooth_hidp_core.patch @@ -0,0 +1,29 @@ +--- a/net/bluetooth/hidp/core.c ++++ b/net/bluetooth/hidp/core.c +@@ -224,6 +224,7 @@ static void hidp_input_report(struct hid + input_sync(dev); + } + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) + static int hidp_get_raw_report(struct hid_device *hid, + unsigned char report_number, + unsigned char *data, size_t count, +@@ -396,6 +397,7 @@ static int hidp_raw_request(struct hid_d + return -EIO; + } + } ++#endif + + static void hidp_idle_timeout(unsigned long arg) + { +@@ -739,8 +741,10 @@ static struct hid_ll_driver hidp_hid_dri + .stop = hidp_stop, + .open = hidp_open, + .close = hidp_close, ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) + .raw_request = hidp_raw_request, + .output_report = hidp_output_report, ++#endif + }; + + /* This function sets up the hid device. It does not add it |