summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-01-03 17:32:11 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2010-01-03 17:32:11 +0000
commit69b182dc9a005115f7ac5489534f240f25558ca6 (patch)
tree16fb72a371bf267366cc4c7ad5d4d17db3358859 /firmware/target/mips/ingenic_jz47xx
parent338b1dec5f114b002155ff4931c28f5070ba3270 (diff)
downloadrockbox-69b182dc9a005115f7ac5489534f240f25558ca6.tar.gz
rockbox-69b182dc9a005115f7ac5489534f240f25558ca6.tar.bz2
rockbox-69b182dc9a005115f7ac5489534f240f25558ca6.zip
Onda VX747/VX777: fix not closing I²C all times
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24171 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
index c9f4d99224..ec08dd61bb 100644
--- a/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c
@@ -171,6 +171,7 @@ L_try_again:
}
__i2c_send_stop();
+ i2c_close();
return count - cnt;
device_err:
@@ -230,6 +231,7 @@ W_try_again:
}
__i2c_send_stop();
+ i2c_close();
return count - cnt;
device_err: