* [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
@ 2015-01-06 10:01 Yoshihiro Shimoda
2015-01-06 10:22 ` Geert Uytterhoeven
2015-01-06 10:47 ` Geert Uytterhoeven
0 siblings, 2 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2015-01-06 10:01 UTC (permalink / raw)
To: broonie; +Cc: linux-spi, linux-sh, Yoshihiro Shimoda
Since the FLD bit field is bit[3:2], the MDR1_FLD_MASK value should
be 0x0000000c.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
---
drivers/spi/spi-sh-msiof.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 96a5fc0..3ab7a21 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -82,7 +82,7 @@ struct sh_msiof_spi_priv {
#define MDR1_SYNCMD_LR 0x30000000 /* L/R mode */
#define MDR1_SYNCAC_SHIFT 25 /* Sync Polarity (1 = Active-low) */
#define MDR1_BITLSB_SHIFT 24 /* MSB/LSB First (1 = LSB first) */
-#define MDR1_FLD_MASK 0x000000c0 /* Frame Sync Signal Interval (0-3) */
+#define MDR1_FLD_MASK 0x0000000c /* Frame Sync Signal Interval (0-3) */
#define MDR1_FLD_SHIFT 2
#define MDR1_XXSTP 0x00000001 /* Transmission/Reception Stop on FIFO */
/* TMDR1 */
--
1.7.9.5
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
2015-01-06 10:01 [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value Yoshihiro Shimoda
@ 2015-01-06 10:22 ` Geert Uytterhoeven
2015-01-06 10:47 ` Geert Uytterhoeven
1 sibling, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2015-01-06 10:22 UTC (permalink / raw)
To: Yoshihiro Shimoda; +Cc: Mark Brown, linux-spi, Linux-sh list
Hi Shimoda-san,
On Tue, Jan 6, 2015 at 11:01 AM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Since the FLD bit field is bit[3:2], the MDR1_FLD_MASK value should
> be 0x0000000c.
Thanks, my mistake. Fortunately the definition is not used.
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
2015-01-06 10:01 [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value Yoshihiro Shimoda
2015-01-06 10:22 ` Geert Uytterhoeven
@ 2015-01-06 10:47 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUjor__TCQwDcHAR9-vH54=qB-_E5AM2a4hp2B+wE9c4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2015-01-06 10:47 UTC (permalink / raw)
To: Yoshihiro Shimoda; +Cc: Mark Brown, linux-spi, Linux-sh list
Hi Shimoda-san,
On Tue, Jan 6, 2015 at 11:01 AM, Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com> wrote:
> Since the FLD bit field is bit[3:2], the MDR1_FLD_MASK value should
> be 0x0000000c.
This patch doesn't apply, since Mark has applied your other patch
"spi: sh-msiof: Configure MSIOF sync signal timing in device tree".
Please rebase on top of spi/for-next (or renesas-drivers-2015-01-06-v3.19-rc3).
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
[not found] ` <CAMuHMdUjor__TCQwDcHAR9-vH54=qB-_E5AM2a4hp2B+wE9c4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2015-01-06 10:57 ` yoshihiro shimoda
[not found] ` <HKNPR06MB322387C2B14F90694CA90A8D8590-xIjp3w5QIjwsJtb0Mgt7d79PrO6axcR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: yoshihiro shimoda @ 2015-01-06 10:57 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Mark Brown, linux-spi, Linux-sh list
Hi Geert-san,
> Hi Shimoda-san,
>
> On Tue, Jan 6, 2015 at 11:01 AM, Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com> wrote:
> > Since the FLD bit field is bit[3:2], the MDR1_FLD_MASK value should
> > be 0x0000000c.
>
> This patch doesn't apply, since Mark has applied your other patch
> "spi: sh-msiof: Configure MSIOF sync signal timing in device tree".
>
> Please rebase on top of spi/for-next (or renesas-drivers-2015-01-06-v3.19-rc3).
Oops. Thank you for the point.
I used spi/for-linux branch. So, I will rebase on top of spi/for-next.
Best regards,
Yoshihiro Shimoda
> Thanks!
>
> Gr{oetje,eeting}s,
>
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
[not found] ` <HKNPR06MB322387C2B14F90694CA90A8D8590-xIjp3w5QIjwsJtb0Mgt7d79PrO6axcR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
@ 2015-01-06 11:08 ` Mark Brown
[not found] ` <20150106110831.GV2634-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2015-01-06 11:08 UTC (permalink / raw)
To: yoshihiro shimoda; +Cc: Geert Uytterhoeven, linux-spi, Linux-sh list
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
On Tue, Jan 06, 2015 at 10:57:32AM +0000, yoshihiro shimoda wrote:
> > This patch doesn't apply, since Mark has applied your other patch
> > "spi: sh-msiof: Configure MSIOF sync signal timing in device tree".
> >
> > Please rebase on top of spi/for-next (or renesas-drivers-2015-01-06-v3.19-rc3).
> Oops. Thank you for the point.
> I used spi/for-linux branch. So, I will rebase on top of spi/for-next.
Actually since it's a fix I applied it on a fix branch anyway and
merged.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value
[not found] ` <20150106110831.GV2634-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
@ 2015-01-06 11:15 ` yoshihiro shimoda
0 siblings, 0 replies; 6+ messages in thread
From: yoshihiro shimoda @ 2015-01-06 11:15 UTC (permalink / raw)
To: Mark Brown; +Cc: Geert Uytterhoeven, linux-spi, Linux-sh list
Hi Mark,
>
> On Tue, Jan 06, 2015 at 10:57:32AM +0000, yoshihiro shimoda wrote:
>
> > > This patch doesn't apply, since Mark has applied your other patch
> > > "spi: sh-msiof: Configure MSIOF sync signal timing in device tree".
> > >
> > > Please rebase on top of spi/for-next (or renesas-drivers-2015-01-06-v3.19-rc3).
>
> > Oops. Thank you for the point.
> > I used spi/for-linux branch. So, I will rebase on top of spi/for-next.
>
> Actually since it's a fix I applied it on a fix branch anyway and
> merged.
Thank you!
I already submitted v2 patch, but please ignore it.
Best regards,
Yoshihiro Shimoda
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-01-06 11:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-06 10:01 [PATCH] spi: sh-msiof: fix MDR1_FLD_MASK value Yoshihiro Shimoda
2015-01-06 10:22 ` Geert Uytterhoeven
2015-01-06 10:47 ` Geert Uytterhoeven
[not found] ` <CAMuHMdUjor__TCQwDcHAR9-vH54=qB-_E5AM2a4hp2B+wE9c4Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-01-06 10:57 ` yoshihiro shimoda
[not found] ` <HKNPR06MB322387C2B14F90694CA90A8D8590-xIjp3w5QIjwsJtb0Mgt7d79PrO6axcR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2015-01-06 11:08 ` Mark Brown
[not found] ` <20150106110831.GV2634-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2015-01-06 11:15 ` yoshihiro shimoda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox