mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
Merge "soc: pinctrl-lpi: Add 100msec before resetting hw votes"
This commit is contained in:
commit
4d59a93144
1 changed files with 3 additions and 0 deletions
|
|
@ -15,6 +15,7 @@
|
|||
#include <linux/types.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/delay.h>
|
||||
#include <soc/snd_event.h>
|
||||
#include <dsp/digital-cdc-rsc-mgr.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
|
@ -489,6 +490,8 @@ static int lpi_notifier_service_cb(struct notifier_block *this,
|
|||
|
||||
/* Reset HW votes after SSR */
|
||||
if (!lpi_dev_up) {
|
||||
/* Add 100ms sleep to ensure AVS is up after SSR */
|
||||
msleep(100);
|
||||
if (state->lpass_core_hw_vote)
|
||||
digital_cdc_rsc_mgr_hw_vote_reset(
|
||||
state->lpass_core_hw_vote);
|
||||
|
|
|
|||
Loading…
Reference in a new issue