All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gwendal Grignou <gwendal@chromium.org>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	Gwendal Grignou <gwendal@chromium.org>,
	knaack.h@gmx.de, linux-iio@vger.kernel.org
Subject: Re: [PATCH 3/3] iio: ak8975: add ak09911 and ak09912 support
Date: Fri, 14 Nov 2014 01:01:10 -0800	[thread overview]
Message-ID: <CAMHSBOX6FeYQANYcmoSWqrX6KGTy6muGdY8+UY4_7acDe3ENHQ@mail.gmail.com> (raw)
In-Reply-To: <545E0980.2080201@kernel.org>

On Sat, Nov 8, 2014 at 4:16 AM, Jonathan Cameron <jic23@kernel.org> wrote:
>
> On 06/11/14 15:05, Srinivas Pandruvada wrote:
> > On Wed, 2014-11-05 at 14:10 -0800, Gwendal Grignou wrote:
> >> Add 2 new definition entries to support ak0991x compass.
> >> Add a more advanced function to check we are dealy with the
> >> expected device.
> > This commit message doesn't state that you are removing ak09911 driver.
> > Although you added in cover letter, but that will not be present in the
> > history.
> >
> >>
> >> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> >> ---
> >>  drivers/iio/magnetometer/Kconfig   |  17 +-
> >>  drivers/iio/magnetometer/Makefile  |   1 -
> >>  drivers/iio/magnetometer/ak09911.c | 326 -------------------------------------
> >>  drivers/iio/magnetometer/ak8975.c  | 197 ++++++++++++++++++++--
> >>  4 files changed, 184 insertions(+), 357 deletions(-)
> >>  delete mode 100644 drivers/iio/magnetometer/ak09911.c
> >>
> >> diff --git a/drivers/iio/magnetometer/Kconfig b/drivers/iio/magnetometer/Kconfig
> >> index b2dba9e..cd8750b 100644
> >> --- a/drivers/iio/magnetometer/Kconfig
> >> +++ b/drivers/iio/magnetometer/Kconfig
> >> @@ -6,27 +6,16 @@
> >>  menu "Magnetometer sensors"
> >>
> >>  config AK8975
> >> -    tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
> >> +    tristate "Asahi Kasei AK 3-Axis Magnetometer"
> >>      depends on I2C
> >>      depends on GPIOLIB
> >>      help
> >> -      Say yes here to build support for Asahi Kasei AK8975 3-Axis
> >> -      Magnetometer. This driver can also support AK8963, if i2c
> >> -      device name is identified as ak8963.
> >> +      Say yes here to build support for Asahi Kasei AK8975, AK8963,
> >> +      AK09911 or AK09912 3-Axis Magnetometer.
> >>
> >>        To compile this driver as a module, choose M here: the module
> >>        will be called ak8975.
> >>
> >> -config AK09911
> > Instead
> > config AK09911
> >       select AK8975
> >
> > I stated my reason below.
> Agreed.  This will reduce breakage and is common when merging drivers.
>
> >> -    tristate "Asahi Kasei AK09911 3-axis Compass"
> >> -    depends on I2C
> >> -    help
> >> -      Say yes here to build support for Asahi Kasei AK09911 3-Axis
> >> -      Magnetometer.
> >> -
> >> -      To compile this driver as a module, choose M here: the module
> >> -      will be called ak09911.
> >> -
>
> >
> > I need to test this driver.
> > Jonathan,
> > If possible, wait for Tested by tag from me or someone else.
> Will do.
Srinivas,

Did you have a chance to test these CLs? Let me know if you find any problem.
On my side, the changes work fine with an ak09912.
Thanks,

Gwendal.
> >
> > Thanks,
> > Srinivas
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >
>

  reply	other threads:[~2014-11-14  9:01 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 22:01 [PATCH 0/1] iio: ak8975: Add AKM0991x support Gwendal Grignou
2014-10-29 22:01 ` [PATCH] " Gwendal Grignou
2014-11-03 22:22   ` Hartmut Knaack
2014-11-04 19:41     ` [PATCHv2] " Gwendal Grignou
2014-11-05 14:31       ` Jonathan Cameron
2014-11-05 21:19         ` Gwendal Grignou
2014-11-05 22:10           ` [PATCH 0/3] Support all AKM compass in a single driver Gwendal Grignou
2014-11-05 22:10             ` [PATCH 1/3] iio: ak8975: minor fixes Gwendal Grignou
2014-11-06 15:00               ` Srinivas Pandruvada
2014-11-17 20:13               ` [PATCH v2 " Gwendal Grignou
2014-11-19 11:16                 ` Hartmut Knaack
2014-11-05 22:10             ` [PATCH 2/3] iio: ak8975: add definition structure per compass type Gwendal Grignou
2014-11-06 15:02               ` Srinivas Pandruvada
2014-11-06 21:16                 ` Gwendal Grignou
2014-11-19 11:25               ` Hartmut Knaack
2014-11-05 22:10             ` [PATCH 3/3] iio: ak8975: add ak09911 and ak09912 support Gwendal Grignou
2014-11-06 15:05               ` Srinivas Pandruvada
2014-11-06 21:25                 ` Gwendal Grignou
2014-11-17 18:02                   ` Srinivas Pandruvada
2014-11-17 20:15                     ` Gwendal Grignou
2014-11-17 20:36                       ` Srinivas Pandruvada
2014-11-19 11:39                   ` Hartmut Knaack
2014-11-08 12:16                 ` Jonathan Cameron
2014-11-14  9:01                   ` Gwendal Grignou [this message]
2014-11-06 14:32           ` [PATCHv2] iio: ak8975: Add AKM0991x support Srinivas Pandruvada
2014-11-08 12:17             ` Jonathan Cameron
2014-10-31 15:21 ` [PATCH 0/1] " Srinivas Pandruvada
2014-11-01 21:03   ` Gwendal Grignou

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=CAMHSBOX6FeYQANYcmoSWqrX6KGTy6muGdY8+UY4_7acDe3ENHQ@mail.gmail.com \
    --to=gwendal@chromium.org \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=srinivas.pandruvada@linux.intel.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.