diff options
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index dca9f8549b32..874923fcb2f9 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -58,7 +58,7 @@ static inline u_int pxa2xx_mcxx_asst(u_int pcmcia_cycle_ns, | |||
58 | u_int mem_clk_10khz) | 58 | u_int mem_clk_10khz) |
59 | { | 59 | { |
60 | u_int code = pcmcia_cycle_ns * mem_clk_10khz; | 60 | u_int code = pcmcia_cycle_ns * mem_clk_10khz; |
61 | return (code / 300000) + ((code % 300000) ? 1 : 0) - 1; | 61 | return (code / 300000) + ((code % 300000) ? 1 : 0) + 1; |
62 | } | 62 | } |
63 | 63 | ||
64 | static inline u_int pxa2xx_mcxx_setup(u_int pcmcia_cycle_ns, | 64 | static inline u_int pxa2xx_mcxx_setup(u_int pcmcia_cycle_ns, |