From: Peter Korsgaard Date: Wed, 22 Sep 2010 20:29:59 +0000 (+0100) Subject: ARM: 6406/1: at91sam9g45: fix i2c bus speed X-Git-Tag: v2.6.36-rc6~11^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d5b4c0fa9ff79a4f01e5efc1caefd16b190a3dc;p=pandora-kernel.git ARM: 6406/1: at91sam9g45: fix i2c bus speed Use a correct udelay value to get bus speed around 100KHz. The udelay value was most likely copied from the older devices, but the 9g45 is signicantly faster (400MHz, DDR, ..), so a udelay of 2 gives a bus speed of around 190KHz, which is too fast for some devices. A udelay value of 5 gives a bus speed of around 90KHz here. Signed-off-by: Peter Korsgaard Signed-off-by: Nicolas Ferre Signed-off-by: Russell King --- Reading git-diff-tree failed