summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/dev-i2c0.c
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-03-27 10:52:13 +0000
committerBen Dooks <ben-linux@fluff.org>2009-04-07 10:18:33 +0100
commita192f7153bb33151f83440cd9c0442233a064bf1 (patch)
tree0bf8a18ea3ac34c12dddbe70f12d3a340906016a /arch/arm/plat-s3c/dev-i2c0.c
parentaa11e38ce6fe8846fec046a95cecd5d4690c48cd (diff)
downloadblackbird-op-linux-a192f7153bb33151f83440cd9c0442233a064bf1.tar.gz
blackbird-op-linux-a192f7153bb33151f83440cd9c0442233a064bf1.zip
i2c-s3c2410: sda_delay should be in ns, not clock ticks
The sda_delay field should be specified in ns, not in clock ticks as when using cpufreq we could be changing the bus rate. Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Diffstat (limited to 'arch/arm/plat-s3c/dev-i2c0.c')
-rw-r--r--arch/arm/plat-s3c/dev-i2c0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c/dev-i2c0.c b/arch/arm/plat-s3c/dev-i2c0.c
index fe327074037e..8eecb466ab4c 100644
--- a/arch/arm/plat-s3c/dev-i2c0.c
+++ b/arch/arm/plat-s3c/dev-i2c0.c
@@ -52,7 +52,7 @@ static struct s3c2410_platform_i2c default_i2c_data0 __initdata = {
.slave_addr = 0x10,
.bus_freq = 100*1000,
.max_freq = 400*1000,
- .sda_delay = S3C2410_IICLC_SDA_DELAY5 | S3C2410_IICLC_FILTER_ON,
+ .sda_delay = 100,
};
void __init s3c_i2c0_set_platdata(struct s3c2410_platform_i2c *pd)
OpenPOWER on IntegriCloud