diff options
Diffstat (limited to 'arch/arm/mach-omap2/usb-tusb6010.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-tusb6010.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/usb-tusb6010.c b/arch/arm/mach-omap2/usb-tusb6010.c index 994d8f591a1d..db84a46ce7fd 100644 --- a/arch/arm/mach-omap2/usb-tusb6010.c +++ b/arch/arm/mach-omap2/usb-tusb6010.c | |||
@@ -126,7 +126,7 @@ static int tusb_set_sync_mode(unsigned sysclk_ps, unsigned fclk_ps) | |||
126 | tmp = (t.sync_clk + fclk_ps - 1) / fclk_ps; | 126 | tmp = (t.sync_clk + fclk_ps - 1) / fclk_ps; |
127 | if (tmp > 4) | 127 | if (tmp > 4) |
128 | return -ERANGE; | 128 | return -ERANGE; |
129 | if (tmp <= 0) | 129 | if (tmp == 0) |
130 | tmp = 1; | 130 | tmp = 1; |
131 | t.page_burst_access = (fclk_ps * tmp) / 1000; | 131 | t.page_burst_access = (fclk_ps * tmp) / 1000; |
132 | 132 | ||