Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-10-02 Thread Wolfram Sang
On Mon, Sep 29, 2014 at 05:00:51PM -0500, Andy Gross wrote: > The runtime pm calls need to be done before populating the children via the > i2c_add_adapter call. If this is not done, a child can run into issues trying > to do i2c read/writes due to the pm_runtime_sync failing. > > Signed-off-by:

Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-09-30 Thread Bjorn Andersson
On Tue 30 Sep 12:59 PDT 2014, Andy Gross wrote: > On Mon, Sep 29, 2014 at 06:53:24PM -0700, Bjorn Andersson wrote: > > On Mon 29 Sep 15:00 PDT 2014, Andy Gross wrote: > > > > > The runtime pm calls need to be done before populating the children via > > > the > > > i2c_add_adapter call. If this

Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-09-30 Thread Andy Gross
On Mon, Sep 29, 2014 at 06:53:24PM -0700, Bjorn Andersson wrote: > On Mon 29 Sep 15:00 PDT 2014, Andy Gross wrote: > > > The runtime pm calls need to be done before populating the children via the > > i2c_add_adapter call. If this is not done, a child can run into issues > > trying > > to do i2c

Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 15:00 PDT 2014, Andy Gross wrote: > The runtime pm calls need to be done before populating the children via the > i2c_add_adapter call. If this is not done, a child can run into issues trying > to do i2c read/writes due to the pm_runtime_sync failing. > May I ask in what case this

Re: [PATCH] i2c: qup: Fix order of runtime pm initialization

2014-09-29 Thread Felipe Balbi
On Mon, Sep 29, 2014 at 05:00:51PM -0500, Andy Gross wrote: > The runtime pm calls need to be done before populating the children via the > i2c_add_adapter call. If this is not done, a child can run into issues trying > to do i2c read/writes due to the pm_runtime_sync failing. > > Signed-off-by:

[PATCH] i2c: qup: Fix order of runtime pm initialization

2014-09-29 Thread Andy Gross
The runtime pm calls need to be done before populating the children via the i2c_add_adapter call. If this is not done, a child can run into issues trying to do i2c read/writes due to the pm_runtime_sync failing. Signed-off-by: Andy Gross --- drivers/i2c/busses/i2c-qup.c | 12 1 f