From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: Deepak Saxena <dsaxena@plexity.net>
Cc: Grant Likely <grant.likely@secretlab.ca>,
spi-devel-general@lists.sourceforge.net,
Greg Kroah-Hartman <gregkh@suse.de>,
Nicolas Ferre <nicolas.ferre@atmel.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 1/1] atmel/spi: fix missing probe during the switch to module_platform_driver
Date: Thu, 3 Nov 2011 16:14:26 +0100 [thread overview]
Message-ID: <20111103151426.GJ7136@game.jcrosoft.org> (raw)
In-Reply-To: <CAC4N5ENm9Q+MGb89V2S6QFE0KrB72BXxEBLm7EtAvwDdJEGSjA@mail.gmail.com>
On 10:55 Thu 03 Nov , Deepak Saxena wrote:
> On Thu, Nov 3, 2011 at 10:48 AM, Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj@jcrosoft.com> wrote:
> > in commit 940ab889
> >
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > Cc: Greg Kroah-Hartman <gregkh@suse.de>
> > Cc: Grant Likely <grant.likely@secretlab.ca>
> > Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> > ---
> > arch/arm/mach-at91/include/mach/at91_aic.h | 2 +-
> > drivers/spi/spi-atmel.c | 1 +
> > 2 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-at91/include/mach/at91_aic.h b/arch/arm/mach-at91/include/mach/at91_aic.h
> > index 4b0a57e..f163bb6 100644
> > --- a/arch/arm/mach-at91/include/mach/at91_aic.h
> > +++ b/arch/arm/mach-at91/include/mach/at91_aic.h
> > @@ -20,7 +20,7 @@
> > extern void __iomem *at91_aic_base;
> >
> > #define at91_aic_read(field) \
> > - __raw_read(at91_aic_base + field)
> > + __raw_readl(at91_aic_base + field)
> >
> > #define at91_aic_write(field, value) \
> > __raw_writel(value, at91_aic_base + field);
> > diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
> > index 79665e2..a691240 100644
> > --- a/drivers/spi/spi-atmel.c
> > +++ b/drivers/spi/spi-atmel.c
> > @@ -1072,6 +1072,7 @@ static struct platform_driver atmel_spi_driver = {
> > },
> > .suspend = atmel_spi_suspend,
> > .resume = atmel_spi_resume,
> > + .probe = atmel_spi_probe,
> > .remove = __exit_p(atmel_spi_remove),
> > };
> > module_platform_driver(atmel_spi_driver);
>
> Jean,
>
> This looks it should be two separate patches, one for the missing probe,
> one for the raw_read -> raw_readl.
Yes I found when I receive the e-mail and already send the v2
Best Regards,
J.
WARNING: multiple messages have this Message-ID (diff)
From: plagnioj@jcrosoft.com (Jean-Christophe PLAGNIOL-VILLARD)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] atmel/spi: fix missing probe during the switch to module_platform_driver
Date: Thu, 3 Nov 2011 16:14:26 +0100 [thread overview]
Message-ID: <20111103151426.GJ7136@game.jcrosoft.org> (raw)
In-Reply-To: <CAC4N5ENm9Q+MGb89V2S6QFE0KrB72BXxEBLm7EtAvwDdJEGSjA@mail.gmail.com>
On 10:55 Thu 03 Nov , Deepak Saxena wrote:
> On Thu, Nov 3, 2011 at 10:48 AM, Jean-Christophe PLAGNIOL-VILLARD
> <plagnioj@jcrosoft.com> wrote:
> > in commit 940ab889
> >
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > Cc: Greg Kroah-Hartman <gregkh@suse.de>
> > Cc: Grant Likely <grant.likely@secretlab.ca>
> > Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> > ---
> > ?arch/arm/mach-at91/include/mach/at91_aic.h | ? ?2 +-
> > ?drivers/spi/spi-atmel.c ? ? ? ? ? ? ? ? ? ?| ? ?1 +
> > ?2 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/arch/arm/mach-at91/include/mach/at91_aic.h b/arch/arm/mach-at91/include/mach/at91_aic.h
> > index 4b0a57e..f163bb6 100644
> > --- a/arch/arm/mach-at91/include/mach/at91_aic.h
> > +++ b/arch/arm/mach-at91/include/mach/at91_aic.h
> > @@ -20,7 +20,7 @@
> > ?extern void __iomem *at91_aic_base;
> >
> > ?#define at91_aic_read(field) \
> > - ? ? ? __raw_read(at91_aic_base + field)
> > + ? ? ? __raw_readl(at91_aic_base + field)
> >
> > ?#define at91_aic_write(field, value) \
> > ? ? ? ?__raw_writel(value, at91_aic_base + field);
> > diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c
> > index 79665e2..a691240 100644
> > --- a/drivers/spi/spi-atmel.c
> > +++ b/drivers/spi/spi-atmel.c
> > @@ -1072,6 +1072,7 @@ static struct platform_driver atmel_spi_driver = {
> > ? ? ? ?},
> > ? ? ? ?.suspend ? ? ? ?= atmel_spi_suspend,
> > ? ? ? ?.resume ? ? ? ? = atmel_spi_resume,
> > + ? ? ? .probe ? ? ? ? ?= atmel_spi_probe,
> > ? ? ? ?.remove ? ? ? ? = __exit_p(atmel_spi_remove),
> > ?};
> > ?module_platform_driver(atmel_spi_driver);
>
> Jean,
>
> This looks it should be two separate patches, one for the missing probe,
> one for the raw_read -> raw_readl.
Yes I found when I receive the e-mail and already send the v2
Best Regards,
J.
next prev parent reply other threads:[~2011-11-03 15:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 14:48 [PATCH 1/1] atmel/spi: fix missing probe during the switch to module_platform_driver Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 14:48 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 14:55 ` Deepak Saxena
2011-11-03 14:55 ` Deepak Saxena
2011-11-03 15:14 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-11-03 15:14 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 15:10 ` [PATCH v2] " Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 15:10 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 15:18 ` Russell King - ARM Linux
2011-11-03 15:18 ` Russell King - ARM Linux
2011-11-03 16:51 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 16:51 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 17:43 ` Russell King - ARM Linux
2011-11-03 17:43 ` Russell King - ARM Linux
2011-11-03 18:03 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 18:03 ` Jean-Christophe PLAGNIOL-VILLARD
2011-11-03 18:08 ` Russell King - ARM Linux
2011-11-03 18:08 ` Russell King - ARM Linux
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=20111103151426.GJ7136@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=dsaxena@plexity.net \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=nicolas.ferre@atmel.com \
--cc=spi-devel-general@lists.sourceforge.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 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.