Re: [PATCH] input: wrong irq requested in edt-ft5x06.c

2012-09-20 Thread Stefano Babic
On 19/09/2012 18:58, Dmitry Torokhov wrote: Hi Stefano, Hi Dmitry, On Wed, Sep 19, 2012 at 04:53:54PM +0200, Stefano Babic wrote: The probe function checks for integrity the pdata-irq_pin, but then does not request this line for interrupt. For this reason, no interrupts are generated.

Re: [PATCH] input: wrong irq requested in edt-ft5x06.c

2012-09-20 Thread Stefano Babic
On 20/09/2012 10:31, Simon Budig wrote: On 09/20/2012 10:18 AM, Stefano Babic wrote: But they contain the same information, as the irq number can be get easy from irq_pin with gpio_to_irq(). Having both, it is possible to set them to different values, and this is wrong. gpio_to_irq is not

Re: [PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

2012-09-20 Thread Janusz Krzysztofik
On Wed, 19 Sep 2012 14:05:43 Tony Lindgren wrote: This is only used by omap1. And to fix things properly, this should not be included from the drivers at all. Akced-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl I'll take care of updating the drivers when I have some spare time. Thanks,

Re: [PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

2012-09-20 Thread Tony Lindgren
* Janusz Krzysztofik jkrzy...@tis.icnet.pl [120920 06:48]: On Wed, 19 Sep 2012 14:05:43 Tony Lindgren wrote: This is only used by omap1. And to fix things properly, this should not be included from the drivers at all. Akced-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl I'll take

Re: [PATCH 04/29] ARM: OMAP1: Move board-ams-delta.h from plat to mach

2012-09-20 Thread Tony Lindgren
* Mark Brown broo...@opensource.wolfsonmicro.com [120919 19:05]: On Wed, Sep 19, 2012 at 02:05:43PM -0700, Tony Lindgren wrote: This is only used by omap1. And to fix things properly, this should not be included from the drivers at all. Acked-by: Mark Brown

[PATCH v2 0/3] input: Dynamic Minor Numbers

2012-09-20 Thread David Herrmann
Hi This is version 2 of the Dynamic Minor Numbers support for input devices. Version 1 can be found here: http://thread.gmane.org/gmane.linux.kernel.input/26842 For historical reasons, each input-handler (like evdev, joydev etc.) gets 32 minor numbers assigned statically. That means, if we

[PATCH v2 3/3] input: evdev: use dynamic-minors if running out of static minors

2012-09-20 Thread David Herrmann
When 32 devices were registered and we are running out of minor numbers, then use the new dynamic-minor infrastructure to get more minor numbers. This is fully backwards compatible, except devices with dynamic minors might not be visible to old userspace programs. However, without this patch

[PATCH v2 2/3] input: increase INPUT_DEVICES to 512 to allow dynamic minors

2012-09-20 Thread David Herrmann
All minor numbers for input devices are currently reserved for static allocations. So increase the maximum number of input-devices to 512 to give room of 256 devices for dynamic-minor allocation. register_chrdev uses 256 as default limit so we need to change this function call to actually pass

[PATCH v2 1/3] input: add dynamic-minor allocation helpers

2012-09-20 Thread David Herrmann
Every input-handler-backend like evdev and joydev were allocated 32 minor numbers for historical reasons. This is a very low limit for modern linux desktops and prevents new technologies like multi-seat from becoming more useful. This introduces four new global helpers that allow

[PATCH v3] HID: keep dev_rdesc unmodified and use it for comparisons

2012-09-20 Thread Kevin Daughtridge
The dev_rdesc member of the hid_device structure is meant to store the original report descriptor received from the device, but it is currently passed to any report_fixup method before it is copied to the rdesc member. This patch uses a temporary buffer to shield dev_rdesc from the side effects of

Re: [PATCH] pwm: Call pwm_enable() before pwm_config()

2012-09-20 Thread Mark Brown
On Thu, Aug 23, 2012 at 09:04:02PM +0200, Thierry Reding wrote: Using runtime PM for this sounds indeed like the most generic approach. I'm not very familiar with the API, but I thought it required explicit architecture or bus support (or the driver itself can provide hooks via pm_ops), so it

Re: [PATCH v3] HID: keep dev_rdesc unmodified and use it for comparisons

2012-09-20 Thread Henrik Rydberg
The dev_rdesc member of the hid_device structure is meant to store the original report descriptor received from the device, but it is currently passed to any report_fixup method before it is copied to the rdesc member. This patch uses a temporary buffer to shield dev_rdesc from the side