Hi all,
Resending the patch after incorporating comments from
Chandra , Eduardo Valentin and Felipe.
########################################################
From
ee2a6fd572c6d0464166fc8123982a38b36e7776 Mon Sep 17 00:00:00 2001
From: arun <arunedarath@mistralsolutions.com>
Date: Fri, 6 Jun 2008 18:18:50 +0530
Subject: [PATCH] Fix for the i2c initialization error on 2430sdp
Signed-off-by: arun <arunedarath@mistralsolutions.com>
Acked-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
static int __init omap2430_i2c_init(void)
{
- omap_register_i2c_bus(1, 400, NULL, 0);
+ /*
+ * Registering bus 2 first to avoid twl4030 misbehaving as 2430SDP
+ * has twl4030 on bus 2
+ */
omap_register_i2c_bus(2, 2600, NULL, 0);
+ omap_register_i2c_bus(1, 400, NULL, 0);
return 0;
}