All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: "Murphy, Dan" <dmurphy@ti.com>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton
Date: Thu, 11 Sep 2014 07:01:19 -0500	[thread overview]
Message-ID: <20140911120119.GA17602@kahuna> (raw)
In-Reply-To: <20140910211353.GE38736@core.coreip.homeip.net>

Hi Dimtry,

On 14:13-20140910, Dmitry Torokhov wrote:
> On Thu, Aug 21, 2014 at 02:01:43PM -0500, Nishanth Menon wrote:
> > On 08/21/2014 01:03 PM, Dmitry Torokhov wrote:
> > 
> > I believe I have taken care of other concerns on v2, but..Arrgh.. I
> > did not reply to this comment..
> > > BTW, I do not think you need to use of_node_get/put here, it's not going anywhere.
> > It has been mentioned as a good practice to ensure we use get_put in
> > to ensure reference count is appropriately maintained. So, I have'nt
> > changed that in v3.
> 
> You only need to maintain reference count if you pass the handle on.
> Otherwise you'd have to do get/put every time you dereference something.
> 
> Anyway, I did a few changes to the driver (no need to store current
> state, do not fre einput device after unregister, etc.), could you
> please tell me if the version below still works for you?
[...]
Thanks for taking the time to do all the changes - they are awesome and
the resultant driver does work.

-- 
Regards,
Nishanth Menon

WARNING: multiple messages have this Message-ID (diff)
From: nm@ti.com (Nishanth Menon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton
Date: Thu, 11 Sep 2014 07:01:19 -0500	[thread overview]
Message-ID: <20140911120119.GA17602@kahuna> (raw)
In-Reply-To: <20140910211353.GE38736@core.coreip.homeip.net>

Hi Dimtry,

On 14:13-20140910, Dmitry Torokhov wrote:
> On Thu, Aug 21, 2014 at 02:01:43PM -0500, Nishanth Menon wrote:
> > On 08/21/2014 01:03 PM, Dmitry Torokhov wrote:
> > 
> > I believe I have taken care of other concerns on v2, but..Arrgh.. I
> > did not reply to this comment..
> > > BTW, I do not think you need to use of_node_get/put here, it's not going anywhere.
> > It has been mentioned as a good practice to ensure we use get_put in
> > to ensure reference count is appropriately maintained. So, I have'nt
> > changed that in v3.
> 
> You only need to maintain reference count if you pass the handle on.
> Otherwise you'd have to do get/put every time you dereference something.
> 
> Anyway, I did a few changes to the driver (no need to store current
> state, do not fre einput device after unregister, etc.), could you
> please tell me if the version below still works for you?
[...]
Thanks for taking the time to do all the changes - they are awesome and
the resultant driver does work.

-- 
Regards,
Nishanth Menon

  reply	other threads:[~2014-09-11 12:01 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 20:13 [PATCH 0/2] Input: palmas: add support for palmas power button Nishanth Menon
2014-08-18 20:13 ` Nishanth Menon
2014-08-18 20:13 ` Nishanth Menon
2014-08-18 20:13 ` [PATCH 1/2] doc: dt/bindings: input: introduce palmas power button description Nishanth Menon
2014-08-18 20:13   ` Nishanth Menon
2014-08-18 20:13   ` Nishanth Menon
2014-08-19  5:28   ` Dmitry Torokhov
2014-08-19  5:28     ` Dmitry Torokhov
2014-08-19 10:23     ` Nishanth Menon
2014-08-19 10:23       ` Nishanth Menon
2014-08-18 20:13 ` [PATCH 2/2] Input: misc: introduce palmas-pwrbutton Nishanth Menon
2014-08-18 20:13   ` Nishanth Menon
2014-08-18 20:13   ` Nishanth Menon
2014-08-19  5:23   ` Dmitry Torokhov
2014-08-19  5:23     ` Dmitry Torokhov
2014-08-19 10:17     ` Nishanth Menon
2014-08-19 10:17       ` Nishanth Menon
2014-08-21 16:02 ` [PATCH V2 0/2] Input: palmas: add support for palmas power button Nishanth Menon
2014-08-21 16:02   ` Nishanth Menon
2014-08-21 16:02   ` Nishanth Menon
2014-08-21 16:02   ` [PATCH V2 1/2] doc: dt/bindings: input: introduce palmas power button description Nishanth Menon
2014-08-21 16:02     ` Nishanth Menon
2014-08-21 16:02     ` Nishanth Menon
2014-08-21 16:02   ` [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton Nishanth Menon
2014-08-21 16:02     ` Nishanth Menon
2014-08-21 16:02     ` Nishanth Menon
2014-08-21 16:59     ` Murphy, Dan
2014-08-21 16:59       ` Murphy, Dan
2014-08-21 17:12       ` Nishanth Menon
2014-08-21 17:12         ` Nishanth Menon
     [not found]       ` <00FC9A978A94B7418C33AFAE8A35ED49DF0662-l8PMxShYob2IQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2014-08-21 17:19         ` Nishanth Menon
2014-08-21 17:19           ` Nishanth Menon
2014-08-21 17:19           ` Nishanth Menon
2014-08-21 17:32           ` Murphy, Dan
2014-08-21 17:32             ` Murphy, Dan
     [not found]             ` <00FC9A978A94B7418C33AFAE8A35ED49DF07A2-l8PMxShYob2IQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2014-08-21 17:37               ` Nishanth Menon
2014-08-21 17:37                 ` Nishanth Menon
2014-08-21 17:37                 ` Nishanth Menon
2014-08-21 17:46                 ` Murphy, Dan
2014-08-21 17:46                   ` Murphy, Dan
2014-08-21 18:03                 ` Dmitry Torokhov
2014-08-21 18:03                   ` Dmitry Torokhov
2014-08-21 18:03                   ` Dmitry Torokhov
2014-08-21 19:01                   ` Nishanth Menon
2014-08-21 19:01                     ` Nishanth Menon
2014-09-10 21:13                     ` Dmitry Torokhov
2014-09-10 21:13                       ` Dmitry Torokhov
2014-09-11 12:01                       ` Nishanth Menon [this message]
2014-09-11 12:01                         ` Nishanth Menon
2014-09-12  6:44                         ` Dmitry Torokhov
2014-09-12  6:44                           ` Dmitry Torokhov
2014-08-21 17:05     ` Dmitry Torokhov
2014-08-21 17:05       ` Dmitry Torokhov
2014-08-21 17:09       ` Nishanth Menon
2014-08-21 17:09         ` Nishanth Menon
     [not found] ` <1408392810-16011-1-git-send-email-nm-l0cyMroinI0@public.gmane.org>
2014-08-21 18:52   ` [PATCH V3 " Nishanth Menon
2014-08-21 18:52     ` Nishanth Menon
2014-08-21 18:52     ` Nishanth Menon

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=20140911120119.GA17602@kahuna \
    --to=nm@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=dmurphy@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.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.