<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/hid, branch v3.12.33</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>HID: usbhid: enable always-poll quirk for Elan Touchscreen 016f</title>
<updated>2014-11-13T18:02:53+00:00</updated>
<author>
<name>Adel Gadllah</name>
<email>adel.gadllah@gmail.com</email>
</author>
<published>2014-10-09T06:05:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=07c1ac2971496b2a05e02490b554ef7b77811867'/>
<id>07c1ac2971496b2a05e02490b554ef7b77811867</id>
<content type='text'>
commit 1af39588f84c7c18f8c6d88342f36513a4ce383c upstream.

This device needs the quirk as well.

Tested-by: Kevin Fenzi &lt;kevin@scrye.com&gt;
Signed-off-by: Adel Gadllah &lt;adel.gadllah@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 1af39588f84c7c18f8c6d88342f36513a4ce383c upstream.

This device needs the quirk as well.

Tested-by: Kevin Fenzi &lt;kevin@scrye.com&gt;
Signed-off-by: Adel Gadllah &lt;adel.gadllah@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: enable always-poll quirk for Elan Touchscreen 009b</title>
<updated>2014-11-13T18:02:52+00:00</updated>
<author>
<name>Adel Gadllah</name>
<email>adel.gadllah@gmail.com</email>
</author>
<published>2014-10-09T06:05:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=51925e17cd94fdafc9fdb7a441d9e6c7b59079f1'/>
<id>51925e17cd94fdafc9fdb7a441d9e6c7b59079f1</id>
<content type='text'>
commit 29d05c2ecf396161ef2938a0635707ef5685ef58 upstream.

This device needs the quirk as well.

Signed-off-by: Adel Gadllah &lt;adel.gadllah@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 29d05c2ecf396161ef2938a0635707ef5685ef58 upstream.

This device needs the quirk as well.

Signed-off-by: Adel Gadllah &lt;adel.gadllah@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: enable always-poll quirk for Elan Touchscreen</title>
<updated>2014-11-13T18:02:52+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2014-09-05T16:08:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=12127f7f56a5776d9e20bcc5bae0fcc95870af6b'/>
<id>12127f7f56a5776d9e20bcc5bae0fcc95870af6b</id>
<content type='text'>
commit bfe3c873e978d78b542a5852575dd74f4d1a5838 upstream.

Enable the always-poll quirk for Elan Touchscreens found on some recent
Samsung laptops.

Without this quirk the device keeps disconnecting from the bus (and is
re-enumerated) unless opened (and kept open, should an input event
occur).

Note that while the device can be run-time suspended, the autosuspend
timeout must be high enough to allow the device to be polled at least
once before being suspended. Specifically, using autosuspend_delay_ms=0
will still cause the device to disconnect on input events.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit bfe3c873e978d78b542a5852575dd74f4d1a5838 upstream.

Enable the always-poll quirk for Elan Touchscreens found on some recent
Samsung laptops.

Without this quirk the device keeps disconnecting from the bus (and is
re-enumerated) unless opened (and kept open, should an input event
occur).

Note that while the device can be run-time suspended, the autosuspend
timeout must be high enough to allow the device to be polled at least
once before being suspended. Specifically, using autosuspend_delay_ms=0
will still cause the device to disconnect on input events.

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: add always-poll quirk</title>
<updated>2014-11-13T18:02:52+00:00</updated>
<author>
<name>Johan Hovold</name>
<email>johan@kernel.org</email>
</author>
<published>2014-09-05T16:08:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=972b69a50ed38071d5340999089046a9ec04b0e8'/>
<id>972b69a50ed38071d5340999089046a9ec04b0e8</id>
<content type='text'>
commit 0b750b3baa2d64f1b77aecc10f20deeb28efe60d upstream.

Add quirk to make sure that a device is always polled for input events
even if it hasn't been opened.

This is needed for devices that disconnects from the bus unless the
interrupt endpoint has been polled at least once or when not responding
to an input event (e.g. after having shut down X).

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 0b750b3baa2d64f1b77aecc10f20deeb28efe60d upstream.

Add quirk to make sure that a device is always polled for input events
even if it hasn't been opened.

This is needed for devices that disconnects from the bus unless the
interrupt endpoint has been polled at least once or when not responding
to an input event (e.g. after having shut down X).

Signed-off-by: Johan Hovold &lt;johan@kernel.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard</title>
<updated>2014-11-13T18:01:53+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2014-06-02T08:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d9892fefa40e5f6a7e2ec30e3ec288fe9f3f19e7'/>
<id>d9892fefa40e5f6a7e2ec30e3ec288fe9f3f19e7</id>
<content type='text'>
commit 9ea63c439c5dffcb7c46c741929fe74b31b9676b upstream.

The device which identifies itself as a "USB Keykoard" (no typo) with VID:PID
1a2c:0023 does not seem to be handling the reports initialization very well.
This results in a "usb_submit_urb(ctrl) failed: -1" message from the kernel
when connected, and a delay before its initialization.  This patch adds the
quirk for this device, which causes the delay to disappear.

[jkosina@suse.cz: remove superfluous comment and fix ordering]
Signed-off-by: Daniel Kamil Kozar &lt;dkk089@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 9ea63c439c5dffcb7c46c741929fe74b31b9676b upstream.

The device which identifies itself as a "USB Keykoard" (no typo) with VID:PID
1a2c:0023 does not seem to be handling the reports initialization very well.
This results in a "usb_submit_urb(ctrl) failed: -1" message from the kernel
when connected, and a delay before its initialization.  This patch adds the
quirk for this device, which causes the delay to disappear.

[jkosina@suse.cz: remove superfluous comment and fix ordering]
Signed-off-by: Daniel Kamil Kozar &lt;dkk089@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: quirk for PM1610 and PM1640 Touchscreen.</title>
<updated>2014-11-13T18:01:53+00:00</updated>
<author>
<name>John Sung</name>
<email>penmount.touch@gmail.com</email>
</author>
<published>2014-06-27T08:22:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1a7ae6c00f200c810b5c77b7dc1add63143650fd'/>
<id>1a7ae6c00f200c810b5c77b7dc1add63143650fd</id>
<content type='text'>
commit 66e5482752386786c4346f4f4b214b0998639702 upstream.

These device needs to be added to the quirks list with HID_QUIRK_NOGET,
otherwise they will reset upon receiving the get input report requests.

Signed-off-by: John Sung &lt;penmount.touch@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 66e5482752386786c4346f4f4b214b0998639702 upstream.

These device needs to be added to the quirks list with HID_QUIRK_NOGET,
otherwise they will reset upon receiving the get input report requests.

Signed-off-by: John Sung &lt;penmount.touch@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: use multi input quirk for 22b9:2968</title>
<updated>2014-11-13T18:01:52+00:00</updated>
<author>
<name>Wen-chien Jesse Sung</name>
<email>jesse.sung@canonical.com</email>
</author>
<published>2014-07-08T00:44:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d5585865781bd6cf0b9ba1466df2ed6a6e2fce65'/>
<id>d5585865781bd6cf0b9ba1466df2ed6a6e2fce65</id>
<content type='text'>
commit d90b1cf0c4cbe6fdcf4c4e0b0c9c97fe32b9f8a1 upstream.

This device generates ABS_Z and ABS_RX events instead of ABS_X and
ABS_Y.

Signed-off-by: Wen-chien Jesse Sung &lt;jesse.sung@canonical.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit d90b1cf0c4cbe6fdcf4c4e0b0c9c97fe32b9f8a1 upstream.

This device generates ABS_Z and ABS_RX events instead of ABS_X and
ABS_Y.

Signed-off-by: Wen-chien Jesse Sung &lt;jesse.sung@canonical.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: usbhid: Use flag HID_DISCONNECTED when a usb device is removed</title>
<updated>2014-11-13T18:01:52+00:00</updated>
<author>
<name>Reyad Attiyat</name>
<email>reyad.attiyat@gmail.com</email>
</author>
<published>2014-07-25T05:13:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4c1e006db378eca8181f7e0dd90918c7b40e0f5b'/>
<id>4c1e006db378eca8181f7e0dd90918c7b40e0f5b</id>
<content type='text'>
commit 46df9dedabc1541f9c45f94ecd2c3c7ab0c3bf23 upstream.

Set disconnected flag in struct usbhid when a usb device is removed. Check for
disconnected flag before sending urb requests. This prevents a kernel panic
when a hid driver calls hid_hw_request() after removing a usb device.

 BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
 IP: [&lt;ffffffff8161746f&gt;] hid_submit_ctrl+0x7f/0x290
 PGD 0
 Oops: 0002 [#1] PREEMPT SMP
 CPU: 2 PID: 39 Comm: khubd Tainted: G          IO  3.16.0-rc5+ #112
 Hardware name: Microsoft Corporation Surface Pro 2/Surface Pro 2, BIOS 2.03.0250 09/06/2013
 task: ffff880118aba6e0 ti: ffff8800daf80000 task.ti: ffff8800daf80000
 RIP: 0010:[&lt;ffffffff8161746f&gt;]  [&lt;ffffffff8161746f&gt;] hid_submit_ctrl+0x7f/0x290
 RSP: 0018:ffff8800daf83750  EFLAGS: 00010086
 RAX: 0000000080000300 RBX: ffff88003f60c000 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff880117f78000
 RBP: ffff8800daf83788 R08: 0000000000000001 R09: 0000000000000001
 R10: 0000000000000001 R11: 0000000000000000 R12: ffff880117f78000
 R13: ffff88003f11a290 R14: 000000000000000c R15: ffff880091cb3ab8
 FS:  0000000000000000(0000) GS:ffff88011b000000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000058 CR3: 0000000001c11000 CR4: 00000000001407e0
 Stack:
  ffff880117f3dcd0 ffff880117f78000 ffff88003f60c000 ffff880117f78000
  ffff880117f78000 ffff88003f11a290 0000000000000000 ffff8800daf837b0
  ffffffff81617707 ffff880117f78000 ffff88003f60c000 0000000000000013
 Call Trace:
  [&lt;ffffffff81617707&gt;] usbhid_restart_ctrl_queue+0x87/0x140
  [&lt;ffffffff81617a88&gt;] usbhid_submit_report+0x2c8/0x370
  [&lt;ffffffff81617b4a&gt;] usbhid_request+0x1a/0x30
  [&lt;ffffffffa020edfb&gt;] sensor_hub_set_feature+0x8b/0xd0 [hid_sensor_hub]
  [&lt;ffffffffa02d9084&gt;] hid_sensor_power_state+0x84/0x110 [hid_sensor_trigger]
  [&lt;ffffffffa02d9129&gt;] hid_sensor_data_rdy_trigger_set_state+0x19/0x20 [hid_sensor_trigger]
  [&lt;ffffffffa034d5b7&gt;] iio_triggered_buffer_predisable+0xa7/0xb0 [industrialio]
  [&lt;ffffffffa034cc4a&gt;] iio_disable_all_buffers+0x3a/0xc0 [industrialio]
  [&lt;ffffffffa03487d3&gt;] iio_device_unregister+0x53/0x80 [industrialio]
  [&lt;ffffffffa026c06a&gt;] hid_accel_3d_remove+0x2a/0x50 [hid_sensor_accel_3d]
  [&lt;ffffffff814f433d&gt;] platform_drv_remove+0x1d/0x40
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81512190&gt;] ? mfd_cell_disable+0x80/0x80
  [&lt;ffffffff814f41d1&gt;] platform_device_del+0x21/0xc0
  [&lt;ffffffff814f4282&gt;] platform_device_unregister+0x12/0x30
  [&lt;ffffffff815121d3&gt;] mfd_remove_devices_fn+0x43/0x50
  [&lt;ffffffff814ed3e3&gt;] device_for_each_child+0x43/0x70
  [&lt;ffffffff81512105&gt;] mfd_remove_devices+0x25/0x30
  [&lt;ffffffffa020ebd7&gt;] sensor_hub_remove+0x87/0x140 [hid_sensor_hub]
  [&lt;ffffffff81607c5b&gt;] hid_device_remove+0x6b/0xd0
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81607d47&gt;] hid_destroy_device+0x27/0x60
  [&lt;ffffffff81616972&gt;] usbhid_disconnect+0x22/0x50
  [&lt;ffffffff81568597&gt;] usb_unbind_interface+0x77/0x2b0
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81565cd1&gt;] usb_disable_device+0x91/0x2a0
  [&lt;ffffffff8155b046&gt;] usb_disconnect+0x96/0x2e0
  [&lt;ffffffff8155d74a&gt;] hub_thread+0xb5a/0x1840

Signed-off-by: Reyad Attiyat &lt;reyad.attiyat@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 46df9dedabc1541f9c45f94ecd2c3c7ab0c3bf23 upstream.

Set disconnected flag in struct usbhid when a usb device is removed. Check for
disconnected flag before sending urb requests. This prevents a kernel panic
when a hid driver calls hid_hw_request() after removing a usb device.

 BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
 IP: [&lt;ffffffff8161746f&gt;] hid_submit_ctrl+0x7f/0x290
 PGD 0
 Oops: 0002 [#1] PREEMPT SMP
 CPU: 2 PID: 39 Comm: khubd Tainted: G          IO  3.16.0-rc5+ #112
 Hardware name: Microsoft Corporation Surface Pro 2/Surface Pro 2, BIOS 2.03.0250 09/06/2013
 task: ffff880118aba6e0 ti: ffff8800daf80000 task.ti: ffff8800daf80000
 RIP: 0010:[&lt;ffffffff8161746f&gt;]  [&lt;ffffffff8161746f&gt;] hid_submit_ctrl+0x7f/0x290
 RSP: 0018:ffff8800daf83750  EFLAGS: 00010086
 RAX: 0000000080000300 RBX: ffff88003f60c000 RCX: 0000000000000000
 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff880117f78000
 RBP: ffff8800daf83788 R08: 0000000000000001 R09: 0000000000000001
 R10: 0000000000000001 R11: 0000000000000000 R12: ffff880117f78000
 R13: ffff88003f11a290 R14: 000000000000000c R15: ffff880091cb3ab8
 FS:  0000000000000000(0000) GS:ffff88011b000000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000058 CR3: 0000000001c11000 CR4: 00000000001407e0
 Stack:
  ffff880117f3dcd0 ffff880117f78000 ffff88003f60c000 ffff880117f78000
  ffff880117f78000 ffff88003f11a290 0000000000000000 ffff8800daf837b0
  ffffffff81617707 ffff880117f78000 ffff88003f60c000 0000000000000013
 Call Trace:
  [&lt;ffffffff81617707&gt;] usbhid_restart_ctrl_queue+0x87/0x140
  [&lt;ffffffff81617a88&gt;] usbhid_submit_report+0x2c8/0x370
  [&lt;ffffffff81617b4a&gt;] usbhid_request+0x1a/0x30
  [&lt;ffffffffa020edfb&gt;] sensor_hub_set_feature+0x8b/0xd0 [hid_sensor_hub]
  [&lt;ffffffffa02d9084&gt;] hid_sensor_power_state+0x84/0x110 [hid_sensor_trigger]
  [&lt;ffffffffa02d9129&gt;] hid_sensor_data_rdy_trigger_set_state+0x19/0x20 [hid_sensor_trigger]
  [&lt;ffffffffa034d5b7&gt;] iio_triggered_buffer_predisable+0xa7/0xb0 [industrialio]
  [&lt;ffffffffa034cc4a&gt;] iio_disable_all_buffers+0x3a/0xc0 [industrialio]
  [&lt;ffffffffa03487d3&gt;] iio_device_unregister+0x53/0x80 [industrialio]
  [&lt;ffffffffa026c06a&gt;] hid_accel_3d_remove+0x2a/0x50 [hid_sensor_accel_3d]
  [&lt;ffffffff814f433d&gt;] platform_drv_remove+0x1d/0x40
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81512190&gt;] ? mfd_cell_disable+0x80/0x80
  [&lt;ffffffff814f41d1&gt;] platform_device_del+0x21/0xc0
  [&lt;ffffffff814f4282&gt;] platform_device_unregister+0x12/0x30
  [&lt;ffffffff815121d3&gt;] mfd_remove_devices_fn+0x43/0x50
  [&lt;ffffffff814ed3e3&gt;] device_for_each_child+0x43/0x70
  [&lt;ffffffff81512105&gt;] mfd_remove_devices+0x25/0x30
  [&lt;ffffffffa020ebd7&gt;] sensor_hub_remove+0x87/0x140 [hid_sensor_hub]
  [&lt;ffffffff81607c5b&gt;] hid_device_remove+0x6b/0xd0
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81607d47&gt;] hid_destroy_device+0x27/0x60
  [&lt;ffffffff81616972&gt;] usbhid_disconnect+0x22/0x50
  [&lt;ffffffff81568597&gt;] usb_unbind_interface+0x77/0x2b0
  [&lt;ffffffff814f18bf&gt;] __device_release_driver+0x7f/0xf0
  [&lt;ffffffff814f1955&gt;] device_release_driver+0x25/0x40
  [&lt;ffffffff814f121c&gt;] bus_remove_device+0x11c/0x1a0
  [&lt;ffffffff814ed7d6&gt;] device_del+0x136/0x1e0
  [&lt;ffffffff81565cd1&gt;] usb_disable_device+0x91/0x2a0
  [&lt;ffffffff8155b046&gt;] usb_disconnect+0x96/0x2e0
  [&lt;ffffffff8155d74a&gt;] hub_thread+0xb5a/0x1840

Signed-off-by: Reyad Attiyat &lt;reyad.attiyat@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>HID: logitech-dj: prevent false errors to be shown</title>
<updated>2014-10-13T12:25:34+00:00</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@redhat.com</email>
</author>
<published>2014-08-22T20:16:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=225bdf83cf1b47cc2d574cd8b7b7ce03a3b34641'/>
<id>225bdf83cf1b47cc2d574cd8b7b7ce03a3b34641</id>
<content type='text'>
commit 5abfe85c1d4694d5d4bbd13ecc166262b937adf0 upstream.

Commit "HID: logitech: perform bounds checking on device_id early
enough" unfortunately leaks some errors to dmesg which are not real
ones:
- if the report is not a DJ one, then there is not point in checking
  the device_id
- the receiver (index 0) can also receive some notifications which
  can be safely ignored given the current implementation

Move out the test regarding the report_id and also discards
printing errors when the receiver got notified.

Fixes: ad3e14d7c5268c2e24477c6ef54bbdf88add5d36

Reported-and-tested-by: Markus Trippelsdorf &lt;markus@trippelsdorf.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 5abfe85c1d4694d5d4bbd13ecc166262b937adf0 upstream.

Commit "HID: logitech: perform bounds checking on device_id early
enough" unfortunately leaks some errors to dmesg which are not real
ones:
- if the report is not a DJ one, then there is not point in checking
  the device_id
- the receiver (index 0) can also receive some notifications which
  can be safely ignored given the current implementation

Move out the test regarding the report_id and also discards
printing errors when the receiver got notified.

Fixes: ad3e14d7c5268c2e24477c6ef54bbdf88add5d36

Reported-and-tested-by: Markus Trippelsdorf &lt;markus@trippelsdorf.de&gt;
Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@redhat.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>HID: magicmouse: sanity check report size in raw_event() callback</title>
<updated>2014-10-13T12:25:34+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2014-08-27T07:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ae81c27a53af5310f1fe47e9252146d79ab3157d'/>
<id>ae81c27a53af5310f1fe47e9252146d79ab3157d</id>
<content type='text'>
commit c54def7bd64d7c0b6993336abcffb8444795bf38 upstream.

The report passed to us from transport driver could potentially be
arbitrarily large, therefore we better sanity-check it so that
magicmouse_emit_touch() gets only valid values of raw_id.

Reported-by: Steven Vittitoe &lt;scvitti@google.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit c54def7bd64d7c0b6993336abcffb8444795bf38 upstream.

The report passed to us from transport driver could potentially be
arbitrarily large, therefore we better sanity-check it so that
magicmouse_emit_touch() gets only valid values of raw_id.

Reported-by: Steven Vittitoe &lt;scvitti@google.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;

</pre>
</div>
</content>
</entry>
</feed>
