From: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
To: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Ben Dooks <ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org>,
Rodolfo Giometti <giometti-k2GhghHVRtY@public.gmane.org>,
"linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH v3] i2c/mux: Driver for PCA9541 I2C Master Selector
Date: Thu, 21 Oct 2010 08:03:00 -0700 [thread overview]
Message-ID: <20101021150300.GB26460@ericsson.com> (raw)
In-Reply-To: <20101021164304.06770538-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
On Thu, Oct 21, 2010 at 10:43:04AM -0400, Jean Delvare wrote:
> On Tue, 19 Oct 2010 20:55:08 -0700, Guenter Roeck wrote:
> > This patch adds support for PCA9541, an I2C Bus Master Selector.
> > The driver is modeled as single channel I2C Multiplexer to be able to utilize
> > the I2C multiplexer framework.
> >
> > Signed-off-by: Guenter Roeck <guenter.roeck-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
> > Reviewed-by: Tom Grennan <tom.grennan-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
> > ---
> > v3 changes:
> > - Clarified and cleaned up comments.
> > - No longer pass "struct i2c_adapter *" as parameter.
> > Get it from client->adapter if needed.
> > - No longer pass "struct pca9541 *" as parameter.
> > Pass "struct i2c_client *" instead and get "struct pca9541 *" from it
> > if needed.
> > - Removed "struct i2c_client *client" from struct pca9541 since it is
> > no longer needed.
> > - Moved "pca9541_release_bus(client);" ahead of i2c_add_mux_adapter()
> > to avoid a possible race condition. Also protect the call with
> > i2c_lock_adapter() / i2c_unlock_adapter().
> > - Removed __devinit from pca9541_probe() and __devexit from pca9541_remove().
>
> Applied, thanks.
>
> Would you mind adding yourself to MAINTAINERS as a maintainer for this
> driver? While the driver is small, it's not trivial and it's difficult
> to work on it without the right hardware setup.
>
Sure. Not intentional - I wanted to do that, just forgot. And I agree,
it is pretty much impossible to maintain it unless you have HW to test it.
Want me to resubmit or send a separate patch ?
Thanks,
Guenter
WARNING: multiple messages have this Message-ID (diff)
From: Guenter Roeck <guenter.roeck@ericsson.com>
To: Jean Delvare <khali@linux-fr.org>
Cc: Ben Dooks <ben-linux@fluff.org>,
Rodolfo Giometti <giometti@linux.it>,
"linux-i2c@vger.kernel.org" <linux-i2c@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] i2c/mux: Driver for PCA9541 I2C Master Selector
Date: Thu, 21 Oct 2010 08:03:00 -0700 [thread overview]
Message-ID: <20101021150300.GB26460@ericsson.com> (raw)
In-Reply-To: <20101021164304.06770538@endymion.delvare>
On Thu, Oct 21, 2010 at 10:43:04AM -0400, Jean Delvare wrote:
> On Tue, 19 Oct 2010 20:55:08 -0700, Guenter Roeck wrote:
> > This patch adds support for PCA9541, an I2C Bus Master Selector.
> > The driver is modeled as single channel I2C Multiplexer to be able to utilize
> > the I2C multiplexer framework.
> >
> > Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
> > Reviewed-by: Tom Grennan <tom.grennan@ericsson.com>
> > ---
> > v3 changes:
> > - Clarified and cleaned up comments.
> > - No longer pass "struct i2c_adapter *" as parameter.
> > Get it from client->adapter if needed.
> > - No longer pass "struct pca9541 *" as parameter.
> > Pass "struct i2c_client *" instead and get "struct pca9541 *" from it
> > if needed.
> > - Removed "struct i2c_client *client" from struct pca9541 since it is
> > no longer needed.
> > - Moved "pca9541_release_bus(client);" ahead of i2c_add_mux_adapter()
> > to avoid a possible race condition. Also protect the call with
> > i2c_lock_adapter() / i2c_unlock_adapter().
> > - Removed __devinit from pca9541_probe() and __devexit from pca9541_remove().
>
> Applied, thanks.
>
> Would you mind adding yourself to MAINTAINERS as a maintainer for this
> driver? While the driver is small, it's not trivial and it's difficult
> to work on it without the right hardware setup.
>
Sure. Not intentional - I wanted to do that, just forgot. And I agree,
it is pretty much impossible to maintain it unless you have HW to test it.
Want me to resubmit or send a separate patch ?
Thanks,
Guenter
next prev parent reply other threads:[~2010-10-21 15:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 3:55 [PATCH v3] i2c/mux: Driver for PCA9541 I2C Master Selector Guenter Roeck
2010-10-20 3:55 ` Guenter Roeck
2010-10-21 14:43 ` Jean Delvare
2010-10-21 14:43 ` Jean Delvare
[not found] ` <20101021164304.06770538-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2010-10-21 15:03 ` Guenter Roeck [this message]
2010-10-21 15:03 ` Guenter Roeck
[not found] ` <20101021150300.GB26460-IzeFyvvaP7pWk0Htik3J/w@public.gmane.org>
2010-10-21 15:11 ` Jean Delvare
2010-10-21 15:11 ` Jean Delvare
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=20101021150300.GB26460@ericsson.com \
--to=guenter.roeck-izefyvvap7pwk0htik3j/w@public.gmane.org \
--cc=ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org \
--cc=giometti-k2GhghHVRtY@public.gmane.org \
--cc=khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@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.