ARM: OMAP2: Fix tusb6010 init error and compilation warning
authorJarkko Nikula <jarkko.nikula@nokia.com>
Tue, 12 May 2009 18:20:02 +0000 (11:20 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 12 May 2009 18:20:02 +0000 (11:20 -0700)
commiteaf9393bb79a9c7c8e708669f9581ca466122430
tree44a35c2c2f41a31412e14ea035ccdb88419e1e8d
parent6f733a349c2b70a83b5451fbe61ef2cf67d41cdf
ARM: OMAP2: Fix tusb6010 init error and compilation warning

Fix "tusb6010 init error 5, -19" and compilation warning from function
tusb6010_platform_retime "warning: 'sysclk_ps' is used uninitialized in this
function".

I suppose commit c094ba34b8f780885d029ce3c2715a194b780e5d was meant to test
for zero fclk_ps instead of sysclk_ps.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Roel Kluin <roel.kluin@gmail.com>
Tested-by: Kalle Valo <kalle.valo@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/usb-tusb6010.c