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

- From: Ran Wang \<hidden\>
- Date: 2019-09-17 02:33:47 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2019/09/5718397
- Thread: https://ratatoskr.run/linuxppc-dev/2019/08/5693906/t.md

```text
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 <redacted>
> ---
> 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>

```
