Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 274096
b: refs/heads/master
c: 0d23d05
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Stuebner authored and Kukjin Kim committed Oct 14, 2011
1 parent 29010bf commit 699575a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 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: 716e84d139b2e209d8d17d21f09f3a5dc0026537
refs/heads/master: 0d23d059da0f7a2ce4744b2212d64a17057d8424
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
#define S3C2443_CLKDIV0_PREDIV_MASK (3<<4)
#define S3C2443_CLKDIV0_PREDIV_SHIFT (4)

#define S3C2416_CLKDIV0_ARMDIV_MASK (7 << 9)
#define S3C2443_CLKDIV0_ARMDIV_MASK (15<<9)
#define S3C2443_CLKDIV0_ARMDIV_SHIFT (9)
#define S3C2443_CLKDIV0_ARMDIV_1 (0<<9)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c2416/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static struct clk hsmmc0_clk = {

static inline unsigned int s3c2416_fclk_div(unsigned long clkcon0)
{
clkcon0 &= 7 << S3C2443_CLKDIV0_ARMDIV_SHIFT;
clkcon0 &= S3C2416_CLKDIV0_ARMDIV_MASK;

return armdiv[clkcon0 >> S3C2443_CLKDIV0_ARMDIV_SHIFT];
}
Expand Down

0 comments on commit 699575a

Please sign in to comment.