diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/i2c-jz4740.c | 2 |
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: | |||
171 | } | 171 | } |
172 | 172 | ||
173 | __i2c_send_stop(); | 173 | __i2c_send_stop(); |
174 | i2c_close(); | ||
174 | return count - cnt; | 175 | return count - cnt; |
175 | 176 | ||
176 | device_err: | 177 | device_err: |
@@ -230,6 +231,7 @@ W_try_again: | |||
230 | } | 231 | } |
231 | 232 | ||
232 | __i2c_send_stop(); | 233 | __i2c_send_stop(); |
234 | i2c_close(); | ||
233 | return count - cnt; | 235 | return count - cnt; |
234 | 236 | ||
235 | device_err: | 237 | device_err: |