Re: [PATCH v2] i2c: designware: select gpio/default pin when prepare/unprepare recovery

2018-09-13 Thread Jarkko Nikula
On 09/13/2018 11:21 AM, Jisheng Zhang wrote: On some platforms, the sda/scl pins are muxed with gpio functions, so they could be used for recovery. Select the gpio/default pin function when prepare/unprepare recovery. Signed-off-by: Jisheng Zhang --- since v1: - use IS_ERR_OR_NULL

Re: [PATCH v2] i2c: designware: select gpio/default pin when prepare/unprepare recovery

2018-09-13 Thread Jarkko Nikula
On 09/13/2018 11:21 AM, Jisheng Zhang wrote: On some platforms, the sda/scl pins are muxed with gpio functions, so they could be used for recovery. Select the gpio/default pin function when prepare/unprepare recovery. Signed-off-by: Jisheng Zhang --- since v1: - use IS_ERR_OR_NULL

[PATCH v2] i2c: designware: select gpio/default pin when prepare/unprepare recovery

2018-09-13 Thread Jisheng Zhang
On some platforms, the sda/scl pins are muxed with gpio functions, so they could be used for recovery. Select the gpio/default pin function when prepare/unprepare recovery. Signed-off-by: Jisheng Zhang --- since v1: - use IS_ERR_OR_NULL drivers/i2c/busses/i2c-designware-core.h | 3 +++

[PATCH v2] i2c: designware: select gpio/default pin when prepare/unprepare recovery

2018-09-13 Thread Jisheng Zhang
On some platforms, the sda/scl pins are muxed with gpio functions, so they could be used for recovery. Select the gpio/default pin function when prepare/unprepare recovery. Signed-off-by: Jisheng Zhang --- since v1: - use IS_ERR_OR_NULL drivers/i2c/busses/i2c-designware-core.h | 3 +++