Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1439795
| From | Dmitry Torokhov <dmitry.torokhov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes |
| Date | 2016-07-08 23:10 +0200 |
| Message-ID | <rSLc5-1Ig-3@gated-at.bofh.it> (permalink) |
| References | <rJUHE-49V-41@gated-at.bofh.it> <rNgsh-4IF-9@gated-at.bofh.it> <rP43E-XT-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Jun 28, 2016 at 06:17:13PM +0200, Martin Kepplinger wrote:
> 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.
Martin, did you have time to try out this version of the patch?
Thanks!
--
Dmitry
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes Martin Kepplinger <martink@posteo.de> - 2016-06-28 18:30 +0200
Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2016-07-08 23:10 +0200
Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes Martin Kepplinger <martink@posteo.de> - 2016-07-09 14:10 +0200
csiph-web