Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f2bf63a3 authored by Vaibhav Agarwal's avatar Vaibhav Agarwal Committed by Akash Choudhari
Browse files

greybus: audio: acquire wakelock during active playback



use pm_stay_awake & pm_relax to avoid suspend sequence during
active playback

testing Done:
Music Playback ongoing
$ cat /sys/devices/soc.0/qcom,ara-codec.82/power/wakeup_active
1
Music Playback stopped
$ cat /sys/devices/soc.0/qcom,ara-codec.82/power/wakeup_active
0

Tested-by: default avatarDavid Lin <dtwlin@google.com>
Reviewed-by: default avatarDavid Lin <dtwlin@google.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarAkash Choudhari <akashtc@google.com>
Signed-off-by: default avatarVaibhav Agarwal <vaibhav.agarwal@linaro.org>
parent f35fdb2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment