All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rbtx4939: Fix IOC pin-enable register updating
@ 2009-07-15 13:03 Atsushi Nemoto
  2009-07-17 13:33 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Atsushi Nemoto @ 2009-07-15 13:03 UTC (permalink / raw)
  To: linux-mips; +Cc: ralf

The rbtx4939_update_ioc_pen() expects txx9_ce_res[] already
initialized.  Call it after tx4939_setup().

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
 arch/mips/txx9/rbtx4939/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/txx9/rbtx4939/setup.c b/arch/mips/txx9/rbtx4939/setup.c
index c033ffe..b0c241e 100644
--- a/arch/mips/txx9/rbtx4939/setup.c
+++ b/arch/mips/txx9/rbtx4939/setup.c
@@ -512,10 +512,10 @@ static void __init rbtx4939_setup(void)
 	rbtx4939_ebusc_setup();
 	/* always enable ATA0 */
 	txx9_set64(&tx4939_ccfgptr->pcfg, TX4939_PCFG_ATA0MODE);
-	rbtx4939_update_ioc_pen();
 	if (txx9_master_clock == 0)
 		txx9_master_clock = 20000000;
 	tx4939_setup();
+	rbtx4939_update_ioc_pen();
 #ifdef HAVE_RBTX4939_IOSWAB
 	ioswabw = rbtx4939_ioswabw;
 	__mem_ioswabw = rbtx4939_mem_ioswabw;
-- 
1.5.6.5

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

* Re: [PATCH] rbtx4939: Fix IOC pin-enable register updating
  2009-07-15 13:03 [PATCH] rbtx4939: Fix IOC pin-enable register updating Atsushi Nemoto
@ 2009-07-17 13:33 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-07-17 13:33 UTC (permalink / raw)
  To: Atsushi Nemoto; +Cc: linux-mips

On Wed, Jul 15, 2009 at 10:03:56PM +0900, Atsushi Nemoto wrote:

> The rbtx4939_update_ioc_pen() expects txx9_ce_res[] already
> initialized.  Call it after tx4939_setup().
> 
> Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>

Thanks, applied.

  Ralf

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

end of thread, other threads:[~2009-07-17 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-15 13:03 [PATCH] rbtx4939: Fix IOC pin-enable register updating Atsushi Nemoto
2009-07-17 13:33 ` Ralf Baechle

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.