MIPS: RBTX4939: Fix IOC pin-enable register updating

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Tuesday, August 4, 2009 - 5:02 pm

Gitweb:     http://git.kernel.org/linus/3e6e92183118d26d856e8efb549987164d1b49b4
Commit:     3e6e92183118d26d856e8efb549987164d1b49b4
Parent:     0ca71737fee65521ede964afbd2d5484976ed0ed
Author:     Atsushi Nemoto <anemo@mba.ocn.ne.jp>
AuthorDate: Wed Jul 15 22:03:56 2009 +0900
Committer:  Ralf Baechle <ralf@linux-mips.org>
CommitDate: Mon Aug 3 17:52:44 2009 +0100

    MIPS: RBTX4939: Fix IOC pin-enable register updating
    
    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>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
 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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MIPS: RBTX4939: Fix IOC pin-enable register updating, Linux Kernel Mailing ..., (Tue Aug 4, 5:02 pm)