diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-26 09:37:44 (GMT) |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2015-05-27 12:11:41 (GMT) |
commit | d956b80ac7a6ba6ee45ac46e969f68dd15b4b729 (patch) | |
tree | 82549b48bea1100cfb38584422189426ab21b334 /drivers/soc/mediatek/Kconfig | |
parent | d71c11f3bd2bb0c09e3f08169f5b75dba4b800ea (diff) | |
download | linux-d956b80ac7a6ba6ee45ac46e969f68dd15b4b729.tar.xz |
soc: mediatek: PMIC wrap: Fix register state machine handling
When the PMIC wrapper state machine has read a register it goes into the
"wait for valid clear" (vldclr) state. The state machine stays in this
state until the VLDCLR bit is written to. We should write this bit after
reading a register because the SCPSYS won't let the system go into
suspend as long as the state machine waits for valid clear.
Since now we never leave the state machine in vldclr state we no longer
have to check for this state on pwrap_read/pwrap_write entry and can
remove the corresponding code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/Kconfig')
0 files changed, 0 insertions, 0 deletions