
When reading/writing lpass codec registers, pm_runtime_put_autosuspend is missed when vote fails and it causes device fails suspending after ssr. Add pm_runtime_put_autosuspend to pair with pm_runtime_get_sync. When LPASS_CDC_MACRO_EVT_PRE_SSR_UP comes, core vote is needed before resetting GFMUX reg and dev_up is not set to true yet. Add pre_dev_up flag to indicate PRE_SSR_UP and be used in lpass_cdc_check_core_votes to avoid false alarm. Change-Id: Ic12ecd9645f291078e32f4921f9f77c2d85e4b8c Signed-off-by: Meng Wang <mengw@codeaurora.org>
40 KiB
40 KiB