All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Matthias Brugger <matthias.bgg@gmail.com>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	devel@driverdev.osuosl.org, linux-iio@vger.kernel.org,
	Matthias Brugger <mensch0815@gmail.com>,
	"Datta, Shubhrajyoti" <shubhrajyoti@ti.com>,
	Christoph Mair <christoph.mair@gmail.com>
Subject: Re: [PATCH] iio - add support for bmp085 barometer
Date: Fri, 19 Nov 2010 17:12:05 -0800	[thread overview]
Message-ID: <20101120011205.GA29633@kroah.com> (raw)
In-Reply-To: <4CE6D125.7050801@cam.ac.uk>

On Fri, Nov 19, 2010 at 07:33:57PM +0000, Jonathan Cameron wrote:
> On 10/29/10 15:46, Matthias Brugger wrote:
> > This patch adds support for the Bosch Sensortec bmp085 digital
> > barometer to the iio subsystem.
> Hi Matthias,
> 
> Pretty clean driver.  Various minor comments inline.
> 
> The controversial thing about this driver is that it is (I think)
> the first time we are going to have a driver in iio for a device
> that already has a driver elsewhere in the kernel tree.  (in misc).
> This makes me rather uncomfortable...

Ick, that's not good.  What's the future of the misc driver if this one
goes in as well?

> One crucial thing is that we need a todo file listing anything that
> driver does that this one does not. I would also like to get some
> feedback on this from the author of the existing driver. I have
> cc'd him.  At a very quick glance, the key thing that driver does
> that isn't present here is that it ensures there is a recent enough
> temperature measurement in driver.  Otherwise they are in many ways
> pretty similar. Obviously I'm happy to have barometric pressure sensors
> in IIO but I don't want to step on anyones toes and things will get
> 'interesting' when we move out of staging. The existing driver
> almost certainly has a userspace so any changes are going to cause
> pain and will need to be done slowly and carefully.

Yeah, Matthias, why did you write a new driver for this in the first
place?  What is missing from the in-kernel driver that you needed?  Why
not just add that to the existing driver?

thanks,

greg k-h

  reply	other threads:[~2010-11-20  1:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29 14:46 [PATCH] iio - add support for bmp085 barometer Matthias Brugger
2010-11-09 23:49 ` Greg KH
2010-11-10 23:20   ` J.I. Cameron
2010-11-19 19:33 ` Jonathan Cameron
2010-11-20  1:12   ` Greg KH [this message]
2010-11-27 22:58   ` Christoph Mair

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=20101120011205.GA29633@kroah.com \
    --to=greg@kroah.com \
    --cc=christoph.mair@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=jic23@cam.ac.uk \
    --cc=linux-iio@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=mensch0815@gmail.com \
    --cc=shubhrajyoti@ti.com \
    /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.