Re: [PATCH] i2c: tegra: Fix ifdefs for suspend mode

2012-08-18 Thread Wolfram Sang
On Sat, Aug 18, 2012 at 01:01:38PM +0100, Mark Brown wrote: > On Sat, Aug 18, 2012 at 09:07:32AM +0200, Wolfram Sang wrote: > > On Mon, Jul 30, 2012 at 07:03:07PM +0530, Laxman Dewangan wrote: > > > CONFIG_PM covers runtime only PM. > > > I am a bit confused by this description. CONFIG_PM_RUNTIME

Re: [PATCH] i2c: tegra: Fix ifdefs for suspend mode

2012-08-18 Thread Mark Brown
On Sat, Aug 18, 2012 at 09:07:32AM +0200, Wolfram Sang wrote: > On Mon, Jul 30, 2012 at 07:03:07PM +0530, Laxman Dewangan wrote: > > CONFIG_PM covers runtime only PM. > I am a bit confused by this description. CONFIG_PM_RUNTIME covers > runtime PM, no? The issue is that CONFIG_PM doesn't actually

Re: [PATCH] i2c: tegra: Fix ifdefs for suspend mode

2012-08-18 Thread Wolfram Sang
On Mon, Jul 30, 2012 at 07:03:07PM +0530, Laxman Dewangan wrote: > CONFIG_PM covers runtime only PM. I am a bit confused by this description. CONFIG_PM_RUNTIME covers runtime PM, no? > > Signed-off-by: Laxman Dewangan > --- > This patch will remove the compilation warning if CONFIG_PM_SLEEP > i

[PATCH] i2c: tegra: Fix ifdefs for suspend mode

2012-07-30 Thread Laxman Dewangan
CONFIG_PM covers runtime only PM. Signed-off-by: Laxman Dewangan --- This patch will remove the compilation warning if CONFIG_PM_SLEEP is not enabled. drivers/i2c/busses/i2c-tegra.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/driver