summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c_hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/i2c_hal.c')
-rw-r--r--drivers/i2c/i2c_hal.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/i2c/i2c_hal.c b/drivers/i2c/i2c_hal.c
index 2a28ddf..9119ceb 100644
--- a/drivers/i2c/i2c_hal.c
+++ b/drivers/i2c/i2c_hal.c
@@ -117,7 +117,6 @@ LOCAL uint32 I2C_Bus_CFG (uint32 logic_id)
LOCAL uint32 I2C_Bus_Init (uint32 logic_id, uint32 freq, uint32 port_id)
{
uint32 bus_id = __i2c_phy_cfg[logic_id].phy_id;
- IIC_PRINT ("[IIC DRV:]I2C_Bus_Init");
/*config bus property*/
__i2c_bus[bus_id].current_freq = freq;
__i2c_bus[bus_id].current_port = port_id;
@@ -151,7 +150,6 @@ LOCAL uint32 I2C_Bus_Exit (uint32 bus_id)
__i2c_bus[bus_id].mutex = NULL;
}
*/
- IIC_PRINT ("[IIC DRV:]I2C_Bus_Exit: status=%d", status_val);
/*release the bus method*/
__i2c_bus[bus_id].phy_fun = NULL;
return 0;
@@ -219,8 +217,6 @@ PUBLIC int32 I2C_HAL_Open (I2C_DEV *dev)
__i2c_bus[bus_id].reference++;
- IIC_PRINT ("[IIC DRV:]I2C_HAL_Open: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference);
-
return handle;
}
@@ -265,8 +261,6 @@ PUBLIC int32 I2C_HAL_Close (uint32 handle)
__i2c_dev[handle].check_ack = 0;
__i2c_dev[handle].no_stop = 0;
- IIC_PRINT ("[IIC DRV:]I2C_HAL_Close: handle=%d, ref=%d", handle, __i2c_bus[bus_id].reference);
-
return 0;
}