diff options
author | Henry Chen <henryc.chen@mediatek.com> | 2016-01-04 12:02:52 (GMT) |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-01-25 17:59:41 (GMT) |
commit | 73efe5792bfa73589a7e04abf773f8b7a4c01650 (patch) | |
tree | b751f509e291a7f84a4235af95cdbb9fa6b50dc4 /crypto/cipher.c | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | linux-73efe5792bfa73589a7e04abf773f8b7a4c01650.tar.xz |
soc: mediatek: PMIC wrap: Clear the vldclr if state machine stay on FSM_VLDCLR state.
Sometimes PMIC is too busy to send data in time to cause pmic wrap timeout,
because pmic wrap is waiting for FSM_VLDCLR after finishing WACS2_CMD. It
just return error when issue happened, so the state machine will stay on
FSM_VLDCLR state when data send back later by PMIC and timeout again in next
time because pmic wrap waiting for FSM_IDLE state at the beginning of the
read/write function.
Clear the vldclr when timeout if state machine stay on FSM_VLDCLR.
Signed-off-by: Henry Chen <henryc.chen@mediatek.com>
Tested-by: Ricky Liang <jcliang@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions