Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 149318
b: refs/heads/master
c: ca8cbc8
h: refs/heads/master
v: v3
  • Loading branch information
Matthias Kaehlcke authored and Russell King committed Jun 11, 2009
1 parent 0955af8 commit 1b8f08e
Show file tree
Hide file tree
Showing 2 changed files with 3 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: dc890c2dcd63a90de68ee5f0253eefbb89d725f0
refs/heads/master: ca8cbc8391cbd4d6e4304fc6b62682ed93d2b165
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-ep93xx/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ static unsigned long get_uart_rate(struct clk *clk)
{
u32 value;

value = __raw_readl(EP93XX_SYSCON_CLOCK_CONTROL);
if (value & EP93XX_SYSCON_CLOCK_UARTBAUD)
value = __raw_readl(EP93XX_SYSCON_PWRCNT);
if (value & EP93XX_SYSCON_PWRCNT_UARTBAUD)
return EP93XX_EXT_CLK_RATE;
else
return EP93XX_EXT_CLK_RATE / 2;
Expand Down

0 comments on commit 1b8f08e

Please sign in to comment.