<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/hid/hid-picolcd_leds.c, branch linux-5.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.10.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-5.10.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-06-05T15:30:28Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 265</title>
<updated>2019-06-05T15:30:28Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-29T14:12:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=24c9d96ddb9cd13b5b409c4e0e20ad6b18e56df6'/>
<id>urn:sha1:24c9d96ddb9cd13b5b409c4e0e20ad6b18e56df6</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation version 2 of the license this driver is
  distributed in the hope that it will be useful but without any
  warranty without even the implied warranty of merchantability or
  fitness for a particular purpose see the gnu general public license
  for more details you should have received a copy of the gnu general
  public license along with this software if not see http www gnu org
  licenses

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 8 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Alexios Zavras &lt;alexios.zavras@intel.com&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141333.861653206@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>HID: use to_hid_device()</title>
<updated>2015-12-28T12:41:44Z</updated>
<author>
<name>Geliang Tang</name>
<email>geliangtang@163.com</email>
</author>
<published>2015-12-27T09:25:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ee79a8f840a45d331bc33e55cbcc89bba417671c'/>
<id>urn:sha1:ee79a8f840a45d331bc33e55cbcc89bba417671c</id>
<content type='text'>
Use to_hid_device() instead of container_of().

Signed-off-by: Geliang Tang &lt;geliangtang@163.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: use hid_hw_request() instead of direct call to usbhid</title>
<updated>2013-02-25T12:26:41Z</updated>
<author>
<name>Benjamin Tissoires</name>
<email>benjamin.tissoires@gmail.com</email>
</author>
<published>2013-02-25T10:31:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=d881427253da011495f4193663d809d0e9dfa215'/>
<id>urn:sha1:d881427253da011495f4193663d809d0e9dfa215</id>
<content type='text'>
This allows the hid drivers to be independent from the transport layer.

The patch was constructed by replacing all occurences of
usbhid_submit_report() by its hid_hw_request() counterpart.
Then, drivers not requiring USB_HID anymore have their USB_HID
dependency cleaned in the Kconfig file.

Finally, few drivers still depends on USB_HID. Many of them
are requiring the io wait callback. They are found in the next patch.

Signed-off-by: Benjamin Tissoires &lt;benjamin.tissoires@gmail.com&gt;
Reviewed-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;

For the sensor-hub part:
Tested-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: picoLCD: Improve unplug handling</title>
<updated>2012-08-15T08:13:26Z</updated>
<author>
<name>Bruno Prémont</name>
<email>bonbons@linux-vserver.org</email>
</author>
<published>2012-07-30T19:38:57Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a93ab8494873a88622bf74be861a93f875643524'/>
<id>urn:sha1:a93ab8494873a88622bf74be861a93f875643524</id>
<content type='text'>
Stop earlier attempting to submit new reports/URBs (though locking and
usbhid still prevents to bail out early enough to not produce multiple
  hid-picolcd 0003:04D8:C002.0003: usb_submit_urb(out) failed: -19
messages in kernel log.

Strengthen framebuffer removal to be less racy.

Signed-off-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: picoLCD: prevent NULL pointer dereference on unplug</title>
<updated>2012-08-15T08:11:43Z</updated>
<author>
<name>Bruno Prémont</name>
<email>bonbons@linux-vserver.org</email>
</author>
<published>2012-07-30T19:38:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=b07072e6a27253b5eb7d21049a108449920b4c50'/>
<id>urn:sha1:b07072e6a27253b5eb7d21049a108449920b4c50</id>
<content type='text'>
[  679.807480] BUG: unable to handle kernel NULL pointer dereference at 00000074
[  679.814457] IP: [&lt;de93b5bf&gt;] picolcd_led_set_brightness+0x1f/0xb0 [hid_picolcd]
[  679.814457] *pde = 00000000
[  679.814457] Oops: 0000 [#1]
[  679.814457] Modules linked in: hid_picolcd fb_sys_fops sysimgblt sysfillrect syscopyarea drm_kms_helper nfs lockd nfs_acl sunrpc [last unloaded: hid_picolcd]
[  679.814457]
[  679.814457] Pid: 272, comm: khubd Not tainted 3.5.0-jupiter-00006-g463a4c0 #1 NVIDIA Corporation. nFORCE-MCP/MS-6373
[  679.814457] EIP: 0060:[&lt;de93b5bf&gt;] EFLAGS: 00010246 CPU: 0
[  679.814457] EIP is at picolcd_led_set_brightness+0x1f/0xb0 [hid_picolcd]
[  679.814457] EAX: 00000000 EBX: d9f0c4e0 ECX: 00000000 EDX: 00000000
[  679.814457] ESI: 00000000 EDI: dd6b79c0 EBP: dd4f7d90 ESP: dd4f7d80
[  679.814457]  DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[  679.814457] CR0: 8005003b CR2: 00000074 CR3: 1d74e000 CR4: 000007d0
[  679.814457] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[  679.814457] DR6: ffff0ff0 DR7: 00000400
[  679.814457] Process khubd (pid: 272, ti=dd4f6000 task=dd442470 task.ti=dd4f6000)
[  679.814457] Stack:
[  679.814457]  1d6c3300 d9f0c4e0 d9f0c4e0 dd6b79c0 dd4f7da0 c132912a 00000000 d9f0c4e0
[  679.814457]  dd4f7dac c132935d 00000000 dd4f7dc0 de93b847 dd6b79c0 00000282 c700ecc8
[  679.814457]  dd4f7ddc de93924f 00000004 c700ecc8 c700e060 c700ecbc c15ee300 dd4f7dec
[  679.814457] Call Trace:
[  679.814457]  [&lt;c132912a&gt;] led_brightness_set+0x2a/0x30
[  679.814457]  [&lt;c132935d&gt;] led_classdev_unregister+0xd/0x50
[  679.814457]  [&lt;de93b847&gt;] picolcd_exit_leds+0x27/0x40 [hid_picolcd]
[  679.814457]  [&lt;de93924f&gt;] picolcd_remove+0xbf/0x110 [hid_picolcd]
[  679.814457]  [&lt;c132c5dd&gt;] hid_device_remove+0x3d/0x80
[  679.814457]  [&lt;c1294126&gt;] __device_release_driver+0x56/0xa0
[  679.814457]  [&lt;c1294190&gt;] device_release_driver+0x20/0x30
[  679.814457]  [&lt;c1293bbf&gt;] bus_remove_device+0x9f/0xc0
[  679.814457]  [&lt;c1291a1d&gt;] device_del+0xdd/0x150
[  679.814457]  [&lt;c132c205&gt;] hid_destroy_device+0x25/0x60
[  679.814457]  [&lt;c13368cb&gt;] usbhid_disconnect+0x1b/0x40
[  679.814457]  [&lt;c12f4976&gt;] usb_unbind_interface+0x46/0x170
[  679.814457]  [&lt;c1294126&gt;] __device_release_driver+0x56/0xa0
[  679.814457]  [&lt;c1294190&gt;] device_release_driver+0x20/0x30
[  679.814457]  [&lt;c1293bbf&gt;] bus_remove_device+0x9f/0xc0
[  679.814457]  [&lt;c1291a1d&gt;] device_del+0xdd/0x150
[  679.814457]  [&lt;c12f2975&gt;] usb_disable_device+0x85/0x1a0
[  679.814457]  [&lt;c1053146&gt;] ? __cond_resched+0x16/0x30
[  679.814457]  [&lt;c12ebdb0&gt;] usb_disconnect+0x80/0xf0
[  679.814457]  [&lt;c12ed61f&gt;] hub_thread+0x3df/0x1030
[  679.814457]  [&lt;c10484a0&gt;] ? wake_up_bit+0x30/0x30
[  679.814457]  [&lt;c12ed240&gt;] ? usb_remote_wakeup+0x40/0x40
[  679.814457]  [&lt;c1047f94&gt;] kthread+0x74/0x80
[  679.814457]  [&lt;c1047f20&gt;] ? flush_kthread_worker+0x90/0x90
[  679.814457]  [&lt;c140e33e&gt;] kernel_thread_helper+0x6/0xd
[  679.814457] Code: e0 25 00 e0 ff ff ff 48 14 eb 99 90 55 89 e5 83 ec 10 89 5d f4 89 75 f8 89 c3 89 7d fc 8b 40 1c 89 d6 8b 00 e8 13 89 95 e2 31 c9 &lt;39&gt; 5c 88 74 74 13 41 83 f9 08 75 f4 8b 5d f4 8b 75 f8 8b 7d fc
[  679.814457] EIP: [&lt;de93b5bf&gt;] picolcd_led_set_brightness+0x1f/0xb0 [hid_picolcd] SS:ESP 0068:dd4f7d80
[  679.814457] CR2: 0000000000000074
[  680.116438] ---[ end trace 6f0d9d63bff280ff ]---

Signed-off-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>HID: picoLCD: split driver code</title>
<updated>2012-08-15T08:08:57Z</updated>
<author>
<name>Bruno Prémont</name>
<email>bonbons@linux-vserver.org</email>
</author>
<published>2012-07-30T19:38:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205'/>
<id>urn:sha1:fabdbf2fd22fa170b4c5340dbdda5c8cd88fb205</id>
<content type='text'>
In order to make code maintenance easier, split the vairous
functions into individial files (this removes a bunch of #ifdefs).

Signed-off-by: Bruno Prémont &lt;bonbons@linux-vserver.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
</feed>
