lkml.org 
[lkml]   [2016]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes
From
Date
Am 2016-06-23 um 19:18 schrieb Dmitry Torokhov:
> Hi Martin,
>
> On Tue, Jun 14, 2016 at 01:20:15PM +0200, Martin Kepplinger wrote:
>> static int pegasus_reset_resume(struct usb_interface *intf)
>> {
>> + struct pegasus *pegasus = usb_get_intfdata(intf);
>> +
>> + if (pegasus->dev->users)
>> + pegasus_set_mode(pegasus, PEN_MODE_XY, NOTETAKER_LED_MOUSE);
>> +
>> return pegasus_resume(intf);
>
> Hmm, we need to take input mutex when using pegasus->dev->users, how
> about the version below instead?
>
> Thanks.
>

Sorry for the delay, give me a few more days to test and confirm this or
come up with a final patch.

thanks
martin

\
 
 \ /
  Last update: 2016-06-28 19:01    [W:0.079 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site