public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sh: USB0 resource area fix for ms7724se
@ 2009-08-19  0:12 Kuninori Morimoto
  2009-08-19  8:35 ` Magnus Damm
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2009-08-19  0:12 UTC (permalink / raw)
  To: linux-sh


Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
---
Magnus

in 15 Apr 2009, "Re: [PATCH 3/6] Add USB support for SH7724"
you taught me about USB area miss. (do you remember ?)
I think this is just your mistake. or is there any reason ?

 arch/sh/boards/mach-se/7724/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 9162081..c04e134 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -319,7 +319,7 @@ static struct r8a66597_platdata sh7724_usb0_host_data = {
 static struct resource sh7724_usb0_host_resources[] = {
 	[0] = {
 		.start	= 0xa4d80000,
-		.end	= 0xa4d800ff,
+		.end	= 0xa4d80124 - 1,
 		.flags	= IORESOURCE_MEM,
 	},
 	[1] = {
-- 
1.6.0.4


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] sh: USB0 resource area fix for ms7724se
  2009-08-19  0:12 [PATCH] sh: USB0 resource area fix for ms7724se Kuninori Morimoto
@ 2009-08-19  8:35 ` Magnus Damm
  2009-08-19 10:16 ` Kuninori Morimoto
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2009-08-19  8:35 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 19, 2009 at 9:12 AM, Kuninori
Morimoto<morimoto.kuninori@renesas.com> wrote:
>
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
> Magnus
>
> in 15 Apr 2009, "Re: [PATCH 3/6] Add USB support for SH7724"
> you taught me about USB area miss. (do you remember ?)
> I think this is just your mistake. or is there any reason ?

You are correct. But please fix other boards and processors using the
same driver!

> --- a/arch/sh/boards/mach-se/7724/setup.c
> +++ b/arch/sh/boards/mach-se/7724/setup.c
> @@ -319,7 +319,7 @@ static struct r8a66597_platdata sh7724_usb0_host_data = {
>  static struct resource sh7724_usb0_host_resources[] = {
>        [0] = {
>                .start  = 0xa4d80000,
> -               .end    = 0xa4d800ff,
> +               .end    = 0xa4d80124 - 1,

Correct but not so pretty with "- 1" in my opinion.

Thanks for your help!

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sh: USB0 resource area fix for ms7724se
  2009-08-19  0:12 [PATCH] sh: USB0 resource area fix for ms7724se Kuninori Morimoto
  2009-08-19  8:35 ` Magnus Damm
@ 2009-08-19 10:16 ` Kuninori Morimoto
  2009-08-19 10:24 ` Magnus Damm
  2009-08-19 10:31 ` Paul Mundt
  3 siblings, 0 replies; 5+ messages in thread
From: Kuninori Morimoto @ 2009-08-19 10:16 UTC (permalink / raw)
  To: linux-sh


Hi Magnus

> > I think this is just your mistake. or is there any reason ?
> 
> You are correct. But please fix other boards and processors using the
> same driver!

I think strange register is SH7724 only.
And the SH7724 board which use USB host is ms7724se only now.

Best regards
--
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sh: USB0 resource area fix for ms7724se
  2009-08-19  0:12 [PATCH] sh: USB0 resource area fix for ms7724se Kuninori Morimoto
  2009-08-19  8:35 ` Magnus Damm
  2009-08-19 10:16 ` Kuninori Morimoto
@ 2009-08-19 10:24 ` Magnus Damm
  2009-08-19 10:31 ` Paul Mundt
  3 siblings, 0 replies; 5+ messages in thread
From: Magnus Damm @ 2009-08-19 10:24 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 19, 2009 at 7:16 PM, Kuninori
Morimoto<morimoto.kuninori@renesas.com> wrote:
> I think strange register is SH7724 only.
> And the SH7724 board which use USB host is ms7724se only now.

Ok, I see. The driver does not seem to use this register at this point
so the change is mainly cosmetic.

Cheers,

/ magnus

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] sh: USB0 resource area fix for ms7724se
  2009-08-19  0:12 [PATCH] sh: USB0 resource area fix for ms7724se Kuninori Morimoto
                   ` (2 preceding siblings ...)
  2009-08-19 10:24 ` Magnus Damm
@ 2009-08-19 10:31 ` Paul Mundt
  3 siblings, 0 replies; 5+ messages in thread
From: Paul Mundt @ 2009-08-19 10:31 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 19, 2009 at 09:12:15AM +0900, Kuninori Morimoto wrote:
> 
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
> Magnus
> 
> in 15 Apr 2009, "Re: [PATCH 3/6] Add USB support for SH7724"
> you taught me about USB area miss. (do you remember ?)
> I think this is just your mistake. or is there any reason ?
> 
>  arch/sh/boards/mach-se/7724/setup.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 

On Wed, Aug 19, 2009 at 07:24:15PM +0900, Kuninori Morimoto wrote:
> This patch also update help comment
> 
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
>  arch/sh/drivers/dma/Kconfig |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
applied, thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-19 10:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-19  0:12 [PATCH] sh: USB0 resource area fix for ms7724se Kuninori Morimoto
2009-08-19  8:35 ` Magnus Damm
2009-08-19 10:16 ` Kuninori Morimoto
2009-08-19 10:24 ` Magnus Damm
2009-08-19 10:31 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox