Messages in this thread | | | Date | Thu, 8 Nov 2012 22:24:01 +0100 | Subject | Re: [PATCH 2/2] gpio: tegra: fix suspend/resume apis | From | Linus Walleij <> |
| |
On Wed, Nov 7, 2012 at 4:01 PM, Laxman Dewangan <ldewangan@nvidia.com> wrote:
> Following are changes done to fix the suspend/resume > functionality of tegra gpio driver: > - Protect suspend/resume callbacks with CONFIG_PM_SLEEP > because 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. > > - Fix the suspend/resume APIs declaration as per callback prototype. > > Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
OK patch applied to my devel branch, with Stephens ACK and I also fixed the whitespace issue he pointed out.
Yours, Linus Walleij
| |