Skip to content

Commit

Permalink
Davinci: tnetv107x: retain psc reg base after init
Browse files Browse the repository at this point in the history
This is a bugfix for the original tnetv107x submission series.  The psc_regs
base array was being discarded post-init, and this was causing a crash during
post-init clock enable/disable.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
  • Loading branch information
Cyril Chemparathy authored and Kevin Hilman committed Sep 24, 2010
1 parent b987c4b commit 7173d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-davinci/tnetv107x.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static u32 pll_ext_freq[] = {
};

/* PSC control registers */
static u32 psc_regs[] __initconst = { TNETV107X_PSC_BASE };
static u32 psc_regs[] = { TNETV107X_PSC_BASE };

/* Host map for interrupt controller */
static u32 intc_host_map[] = { 0x01010000, 0x01010101, -1 };
Expand Down

0 comments on commit 7173d54

Please sign in to comment.