Re: [RFC PATCH 1/2] pm: Add PM domain notifications

From: Sylwester Nawrocki
Date: Thu Dec 11 2014 - 05:37:50 EST


Hi Tomasz,

On 11/12/14 09:26, Tomasz Figa wrote:
> From: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
>
> This patch adds notifiers to the runtime PM/genpd subsystem. It is now
> possible to register a notifier, which will be called before and after
> the generic power domain subsystem calls the power domain's power_on
> and power_off callbacks.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
> [tfiga@xxxxxxxxxxxx: rebased]
> Signed-off-by: Tomasz Figa <tfiga@xxxxxxxxxxxx>

Not sure if you've noticed it, I posted an updated version of this patch
recently [1]. The notifiers list is moved to struct generic_pm_domain
there and it also allows to register a notifier for selected power domain
by name.

--
Regards,
Sylwester

[1] http://www.spinics.net/lists/linux-samsung-soc/msg38549.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/