On 3/1/2012 11:40 AM, Laxman Dewangan wrote: > Most of the socs have i2c pin as open drain type. By having this flag we can tell that in is whether open drain type or not. > There is patch to support open drain in gpiolib which is under review. Ok. Got it now. I will add gpio_flags in struct i2c_bus_recovery_info. If it is non-zero, will use it, otherwise use default flags (GPIOF_DIR_OUT | GPIOF_INIT_LOW). -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html