byte I2C_ReadByte(byte deviceID, byte offset)
{
    	byte number = 0;
	struct i2c_client* client_ptr = get_sii9234_client(deviceID);
	if(!client_ptr)
	{
		printk("[MHL]I2C_ReadByte error %x\n",deviceID); 
		return 0;	
	}

	EXIT_ON_CABLE_DISCONNECTION;
  
  	if(deviceID == 0x72)
		number = SII9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0x7A)
		number = SII9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0x92)
		number = SII9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0xC8)
		number = SII9234_i2c_read(client_ptr,offset);

		if (number < 0)
	{
		printk("I2C_ReadByte: Device ID=0x%X, Err ret = %d \n", deviceID, number);
	}

    return (number);

}
//------------------------------------------------------------------------------
// Function: I2C_WriteByte
// Description:
//------------------------------------------------------------------------------
void I2C_WriteByte(byte deviceID, byte offset, byte value)
{
	int ret = 0;
	struct i2c_client* client_ptr = get_sii9234_client(deviceID);
	if(!client_ptr)
	{
		printk("[MHL]I2C_WriteByte error %x\n",deviceID); 
		return;	
	}
	
	EXIT_ON_CABLE_DISCONNECTION_V;
	if(deviceID == 0x72)
		ret = SII9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0x7A)
		ret = SII9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0x92)
		ret = SII9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0xC8)
		ret = SII9234_i2c_write(client_ptr,offset,value);

	if (ret < 0)
	{
		printk("I2C_WriteByte: Device ID=0x%X, Err ret = %d \n", deviceID, ret);
	}


}
//------------------------------------------------------------------------------
// Function: I2C_WriteByte
// Description:
//------------------------------------------------------------------------------
void I2C_WriteByte(byte deviceID, byte offset, byte value)
{

	struct i2c_client* client_ptr = get_sii9234_client(deviceID);
	if(!client_ptr)
	{
		printk("[MHL]I2C_WriteByte error %x\n",deviceID); 
		return;	
	}
	
	if(deviceID == 0x72)
		sii9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0x7A)
		sii9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0x92)
		sii9234_i2c_write(client_ptr,offset,value);
	else if(deviceID == 0xC8)
		sii9234_i2c_write(client_ptr,offset,value);


}
byte I2C_ReadByte(byte deviceID, byte offset)
{
    	byte number = 0;
	struct i2c_client* client_ptr = get_sii9234_client(deviceID);
	if(!client_ptr)
	{
		printk("[MHL]I2C_ReadByte error %x\n",deviceID); 
		return 0;	
	}

  
  	if(deviceID == 0x72)
		number = sii9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0x7A)
		number = sii9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0x92)
		number = sii9234_i2c_read(client_ptr,offset);
	else if(deviceID == 0xC8)
		number = sii9234_i2c_read(client_ptr,offset);
	
    return (number);

}