[PATCH 2/2] UBUNTU: Add input drivers backports
Henrik Rydberg
rydberg at euromail.se
Fri Oct 15 13:42:02 UTC 2010
On 10/15/2010 01:50 PM, Stefan Bader wrote:
> On 10/15/2010 02:58 PM, Henrik Rydberg wrote:
>> On 10/15/2010 01:16 PM, Stefan Bader wrote:
>>
>>> Add support for latest Wacom tablets by pulling the current driver from
>>> linux-next
>>>
>>> BugLink: http://bugs.launchpad.net/bugs/527912
>>>
>>> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
>>
>>> ---
>>
>> [...]
>>> +static void wacom_close(struct input_dev *dev)
>>
>>> +{
>>> + struct wacom *wacom = input_get_drvdata(dev);
>>> +
>>> + mutex_lock(&wacom->lock);
>>> + usb_kill_urb(wacom->irq);
>>> + wacom->open = false;
>>> + wacom->intf->needs_remote_wakeup = 0;
>>> + mutex_unlock(&wacom->lock);
>>> +
>>> + usb_autopm_put_interface(wacom->intf);
>>> +}
>>
>>
>> This seems to have the deadlock patch for 2.6.36 applied - there is a newer one
>> scheduled for 2.6.37, in case you feel extra brave. ;-)
>>
>> Henrik
>
> My world of latest-ness ends in linux-next. :) You surely got more insight
> there. And I think this likely is not the last thing applied here. At least when
> we reach 2.6.37.
Most likely. :-) Regarding the deadlock patches, the one for 2.6.36 fixes the
lock but disables pm. The one for 2.6.37
(https://patchwork.kernel.org/patch/231121/) turns pm on again. With or without
it, feel free to add
Acked-by: Henrik Rydberg <rydberg at euromail.se>
for the content of the wacom driver.
Cheers,
Henrik
More information about the kernel-team
mailing list