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: