From: Dmitry Torokhov <dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Martin Kepplinger <martink-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes
Date: Fri, 8 Jul 2016 14:08:24 -0700 [thread overview]
Message-ID: <20160708210824.GE28589@dtor-ws> (raw)
In-Reply-To: <246597fa-6a85-1128-853d-3ebdf6f41032-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Martin Kepplinger <martink@posteo.de>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org,
kernel-testers@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes
Date: Fri, 8 Jul 2016 14:08:24 -0700 [thread overview]
Message-ID: <20160708210824.GE28589@dtor-ws> (raw)
In-Reply-To: <246597fa-6a85-1128-853d-3ebdf6f41032@posteo.de>
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
next prev parent reply other threads:[~2016-07-08 21:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-14 11:20 [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes Martin Kepplinger
[not found] ` <1465903215-2351-1-git-send-email-martink-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org>
2016-06-14 11:37 ` Oliver Neukum
2016-06-14 11:37 ` Oliver Neukum
2016-06-15 13:01 ` [PATCH v9] input: tablet: add Pegasus Notetaker tablet driver Martin Kepplinger
2016-06-15 13:01 ` Martin Kepplinger
2016-06-23 15:50 ` Martin Kepplinger
2016-06-23 17:18 ` [PATCH v2] input: tablet: pegasus_notetaker: USB PM fixes Dmitry Torokhov
2016-06-23 17:18 ` Dmitry Torokhov
2016-06-28 16:17 ` Martin Kepplinger
2016-06-28 16:17 ` Martin Kepplinger
[not found] ` <246597fa-6a85-1128-853d-3ebdf6f41032-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org>
2016-07-08 21:08 ` Dmitry Torokhov [this message]
2016-07-08 21:08 ` Dmitry Torokhov
2016-07-09 12:07 ` Martin Kepplinger
2016-07-09 12:07 ` Martin Kepplinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160708210824.GE28589@dtor-ws \
--to=dmitry.torokhov-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=kernel-testers-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=martink-1KBjaw7Xf1+zQB+pC5nmwQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.