Re: [PATCH v4 2/4] mfd: Add Samsung Exynos Low Power Audio Subsystem driver

From: Lee Jones
Date: Tue Aug 09 2016 - 16:49:10 EST


On Tue, 09 Aug 2016, Sylwester Nawrocki wrote:

> On 08/09/2016 05:05 PM, Lee Jones wrote:
> >> +static SIMPLE_DEV_PM_OPS(lpass_pm_ops, exynos_lpass_suspend,
> >> > + exynos_lpass_resume);
> > Put this up by the PM functions.
>
> Sorry, I don't understand this comment, which PM functions do you
> mean exactly?

*_suspend and *_resume. PM == Power Management.

You also need to place the functions in side some CONFIG_PM_SLEEP
guards. Grep around, you'll see what I mean.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog