[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120818184620.GC19802@pengutronix.de>
Date: Sat, 18 Aug 2012 20:46:20 +0200
From: Wolfram Sang <w.sang@...gutronix.de>
To: Laxman Dewangan <ldewangan@...dia.com>
Cc: khali@...ux-fr.org, swarren@...dia.com, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org,
broonie@...nsource.wolfsonmicro.com
Subject: Re: [PATCH V2] i2c: tegra: protect suspend/resume callbacks with
CONFIG_PM_SLEEP
On Sat, Aug 18, 2012 at 05:49:58PM +0530, Laxman Dewangan wrote:
> The CONFIG_PM doesn't actually enable any of the PM callbacks, it
> only allows to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME.
> This means if CONFIG_PM is used to protect system sleep callbacks
> then it may end up unreferenced if only runtime PM is enabled.
> Hence protecting sleep callbacks with CONFIG_PM_SLEEP.
>
> Signed-off-by: Laxman Dewangan <ldewangan@...dia.com>
Applied to -current, thanks!
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists