diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-09-22 21:29:59 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-09-23 15:08:48 +0100 |
commit | 1d5b4c0fa9ff79a4f01e5efc1caefd16b190a3dc (patch) | |
tree | 3d6650d378615d829d0f89e15755a0c95228a7e3 /arch/arm/mm/alignment.c | |
parent | 94bf27586631d32ed08dd49eeaa77222b7874cf3 (diff) | |
download | blackbird-op-linux-1d5b4c0fa9ff79a4f01e5efc1caefd16b190a3dc.tar.gz blackbird-op-linux-1d5b4c0fa9ff79a4f01e5efc1caefd16b190a3dc.zip |
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 <jacmet@sunsite.dk>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/alignment.c')
0 files changed, 0 insertions, 0 deletions