From: Jonathan Cameron <jic23@kernel.org>
To: Josef Gajdusek <atx@atx.name>, linux-iio@vger.kernel.org
Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org,
linux-kernel@vger.kernel.org, pmeerw@pmeerw.net,
dan.carpenter@oracle.com, lars@metafoo.de
Subject: Re: [PATCH v4 0/5] staging:iio:hmc5843: Few adjustments and support for hmc5983
Date: Tue, 15 Jul 2014 18:59:33 +0100 [thread overview]
Message-ID: <53C56C05.5010208@kernel.org> (raw)
In-Reply-To: <20140715122410.GA30770@dashie>
On 15/07/14 13:24, Josef Gajdusek wrote:
> This patch series modifies the hmc5843 driver to support the hmc5983 i2c and
> spi interfaces.
>
> v2:
> * Reverted the changed order of iio unregister and setting hmc mode to sleep
>
> v3:
> * Fixed bug introduced in the first patch
> * Readded few comment lines which have gone missing in the hmc5843.c ->
> hmc5843_core.c move
>
> v4:
> * Changes suggested by Lars in https://lkml.org/lkml/2014/7/14/968
> * The i2c and spi drivers are now user-selectable with the core driver
> being selected automatically
> * The regmap_config structs in both _spi and _i2c files are now static
> * The iio_dev allocation is now done in the common function
> * pm ops are now defined in the header file and the same definition is
> shared between both interface-specific drivers
> * regmap tables in hmc5843.h are not longer static (this fixed bunch of
> variable not used warnings)
>
> Jonathan, the patch series applies cleanly against mainline (for me at least),
> maybe you already have some hmc5843 related patches in your tree which are not
> yet in upstream? (probably https://lkml.org/lkml/2014/2/14/312)
You are correct (although curiously the error from patch this time is a much cleaner
fail than before where it was detecting a repeated apply - ah well).
Could you rebase this series against staging/staging-next
from git.kernel.org please. I'm far more likely to get something wrong doing
this than you are. Also you have the ability to test the result!
Sorry for the extra work but it's good to see lots of simultaneous interest
in this driver!
Thanks,
Jonathan
>
> Josef Gajdusek (5):
> staging:iio:hmc5843: Added regmap support
> staging:iio:hmc5843: Split hmc5843.c to multiple files
> staging:iio:hmc5843: register <-> value arrays now can have different
> lengths
> staging:iio:hmc5843: Add support for i2c hmc5983
> staging:iio:hmc5843: Add support for spi hmc5983
>
> drivers/staging/iio/magnetometer/Kconfig | 30 +-
> drivers/staging/iio/magnetometer/Makefile | 4 +-
> drivers/staging/iio/magnetometer/hmc5843.c | 652 ------------------------
> drivers/staging/iio/magnetometer/hmc5843.h | 86 ++++
> drivers/staging/iio/magnetometer/hmc5843_core.c | 638 +++++++++++++++++++++++
> drivers/staging/iio/magnetometer/hmc5843_i2c.c | 74 +++
> drivers/staging/iio/magnetometer/hmc5843_spi.c | 73 +++
> 7 files changed, 900 insertions(+), 657 deletions(-)
> delete mode 100644 drivers/staging/iio/magnetometer/hmc5843.c
> create mode 100644 drivers/staging/iio/magnetometer/hmc5843.h
> create mode 100644 drivers/staging/iio/magnetometer/hmc5843_core.c
> create mode 100644 drivers/staging/iio/magnetometer/hmc5843_i2c.c
> create mode 100644 drivers/staging/iio/magnetometer/hmc5843_spi.c
>
prev parent reply other threads:[~2014-07-15 17:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 12:24 [PATCH v4 0/5] staging:iio:hmc5843: Few adjustments and support for hmc5983 Josef Gajdusek
2014-07-15 12:25 ` [PATCH v4 1/5] staging:iio:hmc5843: Added regmap support Josef Gajdusek
2014-07-15 12:25 ` [PATCH v4 2/5] staging:iio:hmc5843: Split hmc5843.c to multiple files Josef Gajdusek
2014-07-15 12:26 ` [PATCH v4 3/5] staging:iio:hmc5843: register <-> value arrays now can have different lengths Josef Gajdusek
2014-07-15 12:27 ` [PATCH v4 4/5] staging:iio:hmc5843: Add support for i2c hmc5983 Josef Gajdusek
2014-07-15 12:27 ` [PATCH v4 5/5] staging:iio:hmc5843: Add support for spi hmc5983 Josef Gajdusek
2014-07-15 17:59 ` Jonathan Cameron [this message]
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=53C56C05.5010208@kernel.org \
--to=jic23@kernel.org \
--cc=atx@atx.name \
--cc=dan.carpenter@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/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;
as well as URLs for NNTP newsgroup(s).