Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6623
b: refs/heads/master
c: 01b9c41
h: refs/heads/master
i:
  6621: 421e8e2
  6619: b8845e4
  6615: 1a9a736
  6607: b90ddba
  6591: 06b61a0
v: v3
  • Loading branch information
Ben Dooks authored and Russell King committed Aug 29, 2005
1 parent 3ee7fa8 commit 1b6c7e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6b0bf213b4be478029b768fcee80058ace7150a
refs/heads/master: 01b9c414828d951148a3792237ff3bf6e6debc85
6 changes: 4 additions & 2 deletions trunk/arch/arm/mach-s3c2410/s3c2440-clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ static struct clk s3c2440_clk_ac97 = {
static int s3c2440_clk_add(struct sys_device *sysdev)
{
unsigned long upllcon = __raw_readl(S3C2410_UPLLCON);
unsigned long camdivn = __raw_readl(S3C2440_CAMDIVN);
struct clk *clk_h;
struct clk *clk_p;
struct clk *clk_xtal;
Expand All @@ -80,8 +81,9 @@ static int s3c2440_clk_add(struct sys_device *sysdev)

s3c2440_clk_upll.rate = s3c2410_get_pll(upllcon, clk_xtal->rate);

printk("S3C2440: Clock Support, UPLL %ld.%03ld MHz\n",
print_mhz(s3c2440_clk_upll.rate));
printk("S3C2440: Clock Support, UPLL %ld.%03ld MHz, DVS %s\n",
print_mhz(s3c2440_clk_upll.rate),
(camdivn & S3C2440_CAMDIVN_DVSEN) ? "on" : "off");

clk_p = clk_get(NULL, "pclk");
clk_h = clk_get(NULL, "hclk");
Expand Down

0 comments on commit 1b6c7e0

Please sign in to comment.