summaryrefslogtreecommitdiff
path: root/firmware/drivers/generic_i2c.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2009-06-01 19:45:19 +0000
committerBertrik Sikken <bertrik@sikken.nl>2009-06-01 19:45:19 +0000
commit5212f03124c486239479d75cafb8017d84f63ee9 (patch)
tree0cfc8573d4802ef5b35f18f597d3bd1837552026 /firmware/drivers/generic_i2c.c
parentc825fbac93f45b0e8b38141705b8ac8227cc2fde (diff)
Add missing delay in i2c_start of the generic_i2c driver, used by ams targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/generic_i2c.c')
-rw-r--r--firmware/drivers/generic_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/drivers/generic_i2c.c b/firmware/drivers/generic_i2c.c
index dd5312da6f..62d442b1d2 100644
--- a/firmware/drivers/generic_i2c.c
+++ b/firmware/drivers/generic_i2c.c
@@ -36,6 +36,7 @@ static void i2c_start(const struct i2c_interface *iface)
iface->sda_hi();
iface->scl_hi();
+ iface->delay_su_sta();
iface->sda_lo();
iface->delay_hd_sta();
iface->scl_lo();