Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2015-01-14 Thread David E. Box
Hi, Expect something tonight should the latest tests run okay. I needed to include an EPROBE_DEFER to address the unavailibity of the pci driver needed in order to request the lock during probe of the i2c device. This due to the lock now being requested during probe because of the hang. Dave On

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2015-01-13 Thread Wolfram Sang
Hi Dave, > Timely reply. Around i2c_dw_init(), yes. I just discovered this as the source > of a recent hang that's occuring in the loop in __i2c_dw_enable(). > The hange occurs very infrequently and only, so far, when not built in. A > block around i2c_dw_disable_int() would make sense as well as

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2014-12-04 Thread David E. Box
On Wed, Dec 03, 2014 at 06:01:25PM +0200, Mika Westerberg wrote: > On Mon, Dec 01, 2014 at 04:09:32PM -0800, David E. Box wrote: > > Adds support for acquiring and releasing a hardware bus lock in the i2c > > designware core transfer function. This is needed for i2c bus controllers > > that are sha

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2014-12-04 Thread David E. Box
On Thu, Dec 04, 2014 at 09:59:11AM +0200, Jarkko Nikula wrote: > Hi > > On 12/02/2014 02:09 AM, David E. Box wrote: > >Adds support for acquiring and releasing a hardware bus lock in the i2c > >designware core transfer function. This is needed for i2c bus controllers > >that are shared with but no

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2014-12-03 Thread Jarkko Nikula
Hi On 12/02/2014 02:09 AM, David E. Box wrote: Adds support for acquiring and releasing a hardware bus lock in the i2c designware core transfer function. This is needed for i2c bus controllers that are shared with but not controlled by the kernel. Signed-off-by: David E. Box --- drivers/i2c/

Re: [PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2014-12-03 Thread Mika Westerberg
On Mon, Dec 01, 2014 at 04:09:32PM -0800, David E. Box wrote: > Adds support for acquiring and releasing a hardware bus lock in the i2c > designware core transfer function. This is needed for i2c bus controllers > that are shared with but not controlled by the kernel. > > Signed-off-by: David E. B

[PATCH V3 1/2] i2c-designware: Add i2c bus locking support

2014-12-01 Thread David E. Box
Adds support for acquiring and releasing a hardware bus lock in the i2c designware core transfer function. This is needed for i2c bus controllers that are shared with but not controlled by the kernel. Signed-off-by: David E. Box --- drivers/i2c/busses/i2c-designware-core.c| 11 +++ d