From 62c98d4187b43aa12f6b21bf4176c7cadb0d158c Mon Sep 17 00:00:00 2001 From: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com> Date: Thu, 20 Oct 2022 22:31:53 +0900 Subject: [PATCH] boards: cxd56xx: Remove unnecessary i2c uninitialize process Remove unnecessary i2c uninitialize process to fix an issue that i2c tool does not work well. --- boards/arm/cxd56xx/common/src/cxd56_i2cdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/boards/arm/cxd56xx/common/src/cxd56_i2cdev.c b/boards/arm/cxd56xx/common/src/cxd56_i2cdev.c index 521acd8c24..c54d02de2f 100644 --- a/boards/arm/cxd56xx/common/src/cxd56_i2cdev.c +++ b/boards/arm/cxd56xx/common/src/cxd56_i2cdev.c @@ -65,7 +65,5 @@ int board_i2cdev_initialize(int port) cxd56_i2cbus_uninitialize(i2c); } - cxd56_i2cbus_uninitialize(i2c); - return ret; }