diff options
author | Henry Chen <henryc.chen@mediatek.com> | 2016-01-04 20:02:52 +0800 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2016-01-25 18:59:41 +0100 |
commit | 73efe5792bfa73589a7e04abf773f8b7a4c01650 (patch) | |
tree | b751f509e291a7f84a4235af95cdbb9fa6b50dc4 /drivers/crypto/vmx | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) |
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 'drivers/crypto/vmx')
0 files changed, 0 insertions, 0 deletions