/* Toggle SCL by changing the output value of the pin. This is used for pins that are configured as open drain and for output-only pins. The latter case will break the i2c protocol, but it will often work in practice.  */
static void i2c_gpio_setscl_val(void *data, int state)
/* Toggle SCL by changing the output value of the pin. This is used for pins that are configured as open drain and for output-only pins. The latter case will break the i2c protocol, but it will often work in practice.  */
static void i2c_gpio_setscl_val(void *data, int state)
{
	struct i2c_gpio_platform_data *pdata = data;
	gpio_set_value(pdata->scl_pin, state);
}