RE: [PATCH v6 1/3] PM: wakeup: Add routine to help fetch wakeup source object.

From: Ran Wang
Date: Mon Sep 16 2019 - 22:33:59 EST


Hi Rafael,

On Wednesday, August 21, 2019 11:16, Ran Wang wrote:
>
> Some user might want to go through all registered wakeup sources and doing
> things accordingly. For example, SoC PM driver might need to do HW
> programming to prevent powering down specific IP which wakeup source
> depending on. So add this API to help walk through all registered wakeup source
> objects on that list and return them one by one.
>
> Signed-off-by: Ran Wang <ran.wang_1@xxxxxxx>
> ---
> Change in v6:
> - Add wakeup_source_get_star() and wakeup_source_get_stop() to
> aligned
> with wakeup_sources_stats_seq_start/nex/stop.

How about this version, could you please give any comment? Thanks.

Regards,
Ran

<snip>