[PATCH 2/4] Correct the start-up delay of LED(lp5521) device on 3d7k.

Matt Hsu matt_hsu at openmoko.org
Fri Mar 6 06:55:49 CET 2009


Signed-off-by: Matt Hsu <matt_hsu at openmoko.org>
---
 arch/arm/mach-s3c6410/mach-om-3d7k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-s3c6410/mach-om-3d7k.c b/arch/arm/mach-s3c6410/mach-om-3d7k.c
index f05de6b..79b24bb 100644
--- a/arch/arm/mach-s3c6410/mach-om-3d7k.c
+++ b/arch/arm/mach-s3c6410/mach-om-3d7k.c
@@ -911,7 +911,7 @@ struct platform_device om_3d7k_hdq_device = {
 static void om_3d7k_lp5521_chip_enable(int level)
 {
 	gpio_direction_output(OM_3D7K_GPIO_LED_EN, level);
-	mdelay(500);
+	udelay(500);
 }
 
 static struct lp5521_platform_data om_3d7k_lp5521_pdata = {
-- 
1.5.6.5




More information about the openmoko-kernel mailing list