Skip to content

Commit

Permalink
ARM: S3C64XX: Set rate of crystal mux
Browse files Browse the repository at this point in the history
The current code assumes that the external clock mux will be set to
the crystal. Set this up explicitly within the clock API.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Mark Brown authored and Ben Dooks committed Oct 26, 2009
1 parent e73486b commit e179ac0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arm/plat-s3c64xx/s3c6400-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ void __init_or_cpufreq s3c6400_setup_clocks(void)

printk(KERN_DEBUG "%s: xtal is %ld\n", __func__, xtal);

/* For now assume the mux always selects the crystal */
clk_ext_xtal_mux.parent = xtal_clk;

epll = s3c6400_get_epll(xtal);
mpll = s3c6400_get_pll(xtal, __raw_readl(S3C_MPLL_CON));
apll = s3c6400_get_pll(xtal, __raw_readl(S3C_APLL_CON));
Expand Down

0 comments on commit e179ac0

Please sign in to comment.