Re: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-10-25 Thread Wolfram Sang
On Mon, Sep 26, 2016 at 05:18:58PM -0700, Stefan Agner wrote: > Some SoC might load the GPIO driver after the I2C driver and > using the I2C bus recovery mechanism via GPIOs. In this case > it is crucial to defer probing if the GPIO request functions > do so, otherwise the I2C driver gets loaded

Re: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-10-25 Thread Wolfram Sang
On Mon, Sep 26, 2016 at 05:18:58PM -0700, Stefan Agner wrote: > Some SoC might load the GPIO driver after the I2C driver and > using the I2C bus recovery mechanism via GPIOs. In this case > it is crucial to defer probing if the GPIO request functions > do so, otherwise the I2C driver gets loaded

RE: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-09-27 Thread Leo Li
> -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Monday, September 26, 2016 7:19 PM > To: w...@the-dreams.de > Cc: Leo Li ; linux-...@vger.kernel.org; u.kleine- > koe...@pengutronix.de; linux-kernel@vger.kernel.org; Stefan Agner >

RE: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-09-27 Thread Leo Li
> -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Monday, September 26, 2016 7:19 PM > To: w...@the-dreams.de > Cc: Leo Li ; linux-...@vger.kernel.org; u.kleine- > koe...@pengutronix.de; linux-kernel@vger.kernel.org; Stefan Agner > > Subject: [PATCH] i2c: imx:

Re: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-09-27 Thread Uwe Kleine-König
Hello Stefan, On Mon, Sep 26, 2016 at 05:18:58PM -0700, Stefan Agner wrote: > Some SoC might load the GPIO driver after the I2C driver and > using the I2C bus recovery mechanism via GPIOs. In this case > it is crucial to defer probing if the GPIO request functions > do so, otherwise the I2C

Re: [PATCH] i2c: imx: defer probe if bus recovery GPIOs are not ready

2016-09-27 Thread Uwe Kleine-König
Hello Stefan, On Mon, Sep 26, 2016 at 05:18:58PM -0700, Stefan Agner wrote: > Some SoC might load the GPIO driver after the I2C driver and > using the I2C bus recovery mechanism via GPIOs. In this case > it is crucial to defer probing if the GPIO request functions > do so, otherwise the I2C