diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/cpm2_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c index 924412974795..c827715a5090 100644 --- a/arch/powerpc/sysdev/cpm2_common.c +++ b/arch/powerpc/sysdev/cpm2_common.c | |||
@@ -102,7 +102,7 @@ cpm_setbrg(uint brg, uint rate) | |||
102 | brg -= 4; | 102 | brg -= 4; |
103 | } | 103 | } |
104 | bp += brg; | 104 | bp += brg; |
105 | *bp = ((BRG_UART_CLK / rate) << 1) | CPM_BRG_EN; | 105 | out_be32(bp, (((BRG_UART_CLK / rate) - 1) << 1) | CPM_BRG_EN); |
106 | 106 | ||
107 | cpm2_unmap(bp); | 107 | cpm2_unmap(bp); |
108 | } | 108 | } |