[PATCH v2] HID: appleir: add support for Apple ir devices

2013-04-17 Thread Benjamin Tissoires
This driver was originally written by James McKenzie, updated by Greg Kroah-Hartman, further updated by Bastien Nocera, with suspend support added. I ported it to the HID subsystem, in order to simplify it a litle and allow lirc to use it through hiddev. More recent versions of the IR receiver

Re: [PATCH v2] HID: appleir: add support for Apple ir devices

2013-04-17 Thread Oliver Neukum
On Wednesday 17 April 2013 11:03:09 Benjamin Tissoires wrote: +static void appleir_remove(struct hid_device *hid) +{ + struct appleir *appleir = hid_get_drvdata(hid); + del_timer_sync(appleir-key_up_timer); + hid_hw_stop(hid); + kfree(appleir); +} Hi, this looks

[PATCH] HID: protect hid_debug_list

2013-04-17 Thread Jiri Kosina
Accesses to hid_device-hid_debug_list are not serialized properly, which could result in SMP concurrency issues when HID debugfs events are accessesed by multiple userspace processess. Serialize all the list operations by a mutex. Spotted by Al Viro. Signed-off-by: Jiri Kosina jkos...@suse.cz

Re: [PATCH v2] HID: appleir: add support for Apple ir devices

2013-04-17 Thread Benjamin Tissoires
On 04/17/2013 12:30 PM, Oliver Neukum wrote: On Wednesday 17 April 2013 11:03:09 Benjamin Tissoires wrote: +static void appleir_remove(struct hid_device *hid) +{ + struct appleir *appleir = hid_get_drvdata(hid); + del_timer_sync(appleir-key_up_timer); + hid_hw_stop(hid);

[PATCH v3] HID: appleir: add support for Apple ir devices

2013-04-17 Thread Benjamin Tissoires
This driver was originally written by James McKenzie, updated by Greg Kroah-Hartman, further updated by Bastien Nocera, with suspend support added. I ported it to the HID subsystem, in order to simplify it a litle and allow lirc to use it through hiddev. More recent versions of the IR receiver

[NEW DRIVER V5 0/7] DA9058 PMIC - please comment on this new driver

2013-04-17 Thread Anthony Olech
- low power clock hwmon - 5 monitored voltages/temperatures All the above six component device drivers depend on the 'core' component driver, which is number one in the patch series. Each component driver for the Dialog DA9058 will follow as an e-mail patch relative to linux next-20130417

Re: [PATCH 0/4] HID: debugfs rework

2013-04-17 Thread Jiri Kosina
On Wed, 17 Apr 2013, Benjamin Tissoires wrote: Hi Jiri, This is a small rework of the HID debugfs. I encountered a problem with multitouch devices: they have too much usages to fit into the fixed size output buffer of 512. So I digg a little, and end up with those 4 patches. Hi Benjamin,

Re: [PATCH RFC] input: Add evdev mute ioctl

2013-04-17 Thread David Herrmann
Hi Kristian On Tue, Apr 16, 2013 at 3:58 PM, Kristian Høgsberg k...@bitplanet.net wrote: This commit adds a new ioctl to the evdev device: EVIOCMUTE. The purpose of this ioctl it to temporarily block event delivery to a specific evdev client and prevent access to most of the ioctls. The use