Linux I2C development
 help / color / mirror / Atom feed
From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: [PATCH 4/6]: i2c-pcf: Add a way for bus driver to ask for no smbus quick mode support.
Date: Thu, 16 Oct 2008 12:13:15 +0200	[thread overview]
Message-ID: <20081016121315.2adb5de1@hyperion.delvare> (raw)
In-Reply-To: <20081015.143452.114860633.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>

Hi David,

On Wed, 15 Oct 2008 14:34:52 -0700 (PDT), David Miller wrote:
> From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
> Date: Wed, 15 Oct 2008 14:33:21 +0200
> 
> > For another, with the introduction of I2C classes several years ago,
> > I2C device drivers should no longer probe random I2C adapters.  
> 
> Jean, they do, that's why I wrote this change.
> 
> > They should only probe adapters which share a class bit with them,
> 
> The pcf driver sets the class bit used by FAN and temperature sensors,
> so the I2C layer goes poking around all of the standard address
> locations each of those drivers list.

By setting this class flag in your driver, you ask for these probes.

> I don't want that to happen, ever.  I know exactly what address each
> and every I2C device sits at, so I don't want auto probing at all even
> even if the class bits match.

Then just don't set any class flag in your i2c bus driver and you're
done. Easy as that, just as was done by the powerpc folks for the
i2c-mpc driver (as you just found out yourself.)

> Again where the heck were you two months ago when I submitted these
> changes originally?  I could have been working on changes meanwhile,
> but instead you're reviewing this stuff _NOW_ in the middle of the
> merge window when I have to be on top of things for networking and
> sparc stuff going into the tree.

Two months ago, I was processing all the patches and other requests
that had been sent to me while I was on vacation. I was also taking
care of my family. The fact that I didn't review your patches when you
sent them is unfortunate, but it happened, and similar events will
happen again in the future because there's only so many hours in a day
and only so much work I can do for free on my spare time. Whatever my
wife and baby daughter need from me has higher priority than kernel
patches. You can understand that, can't you?

You're complaining because I'm reviewing your patches during the merge
window. But you did you not bother reminding me about these patches
earlier, while it was pretty obvious that I had missed them? My i2c
patch set is public [1] and if a patch isn't there then it won't go to
Linus. You're blaming it on me, but you could as well blame it on
yourself.

I'm not quite sure why you are complaining anyway. I finally reviewed
your patches. And as far as this one is concerned, I just gave you a
much simpler way to achieve what you wanted to achieve.

[1] http://khali.linux-fr.org/devel/linux-2.6/jdelvare-i2c/

-- 
Jean Delvare

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

  parent reply	other threads:[~2008-10-16 10:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21  9:43 [PATCH 4/6]: i2c-pcf: Add a way for bus driver to ask for no smbus quick mode support David Miller
     [not found] ` <20080821.024327.144744678.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-15 12:33   ` Jean Delvare
     [not found]     ` <20081015143321.7df02b35-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-15 21:34       ` David Miller
     [not found]         ` <20081015.143452.114860633.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-15 22:57           ` David Miller
2008-10-16 10:13           ` Jean Delvare [this message]
     [not found]             ` <20081016121315.2adb5de1-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-16 10:46               ` Wolfram Sang
     [not found]                 ` <20081016104623.GB3432-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-10-16 11:35                   ` Jean Delvare
2008-10-16 19:25               ` David Miller
     [not found]                 ` <20081016.122542.30729839.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-16 19:34                   ` Jean Delvare
     [not found]                     ` <20081016213407.34d9eaa8-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-16 19:38                       ` David Miller

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=20081016121315.2adb5de1@hyperion.delvare \
    --to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
    --cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox