Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-04 Thread Jean Delvare
On Sat, 4 Sep 2010 01:10:10 +0200, Rafael J. Wysocki wrote: On Friday, September 03, 2010, Sripathy, Vishwanath wrote: We are seeing one more issue even after making this fix. In summary, after first suspend/resume, CPU Idle no longer works since i2c module is active. Basically when the

RE: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-03 Thread Sripathy, Vishwanath
: [PATCH] I2C: Fix for suspend/resume issue in i2c-core On Wed, 1 Sep 2010 01:12:11 +0200, Rafael J. Wysocki wrote: On Tuesday, August 31, 2010, Mark Brown wrote: On Mon, Aug 30, 2010 at 11:43:23AM -0700, Kevin Hilman wrote: Vishwanath BS vishwanath...@ti.com writes: In current i2c

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-03 Thread Rafael J. Wysocki
; linux-o...@vger.kernel.org; Basak, Partha; Ben Dooks Subject: Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core On Wed, 1 Sep 2010 01:12:11 +0200, Rafael J. Wysocki wrote: On Tuesday, August 31, 2010, Mark Brown wrote: On Mon, Aug 30, 2010 at 11:43:23AM -0700, Kevin Hilman wrote

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-09-01 Thread Jean Delvare
On Wed, 1 Sep 2010 01:12:11 +0200, Rafael J. Wysocki wrote: On Tuesday, August 31, 2010, Mark Brown wrote: On Mon, Aug 30, 2010 at 11:43:23AM -0700, Kevin Hilman wrote: Vishwanath BS vishwanath...@ti.com writes: In current i2c core driver, pm_runtime_set_active call from

[PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Vishwanath BS
In current i2c core driver, pm_runtime_set_active call from i2c_device_pm_resume is not balanced by pm_runtime_set_suspended call from i2c_device_pm_suspend. pm_runtime_set_active called from resume path will increase the child_count of the device's parent. However, matching

[PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Vishwanath BS
In current i2c core driver, pm_runtime_set_active call from i2c_device_pm_resume is not balanced by pm_runtime_set_suspended call from i2c_device_pm_suspend. pm_runtime_set_active called from resume path will increase the child_count of the device's parent. However, matching

Re: [PATCH] I2C: Fix for suspend/resume issue in i2c-core

2010-08-30 Thread Kevin Hilman
Vishwanath BS vishwanath...@ti.com writes: In current i2c core driver, pm_runtime_set_active call from i2c_device_pm_resume is not balanced by pm_runtime_set_suspended call from i2c_device_pm_suspend. pm_runtime_set_active called from resume path will increase the child_count of the