greybus: arche-platform: assert wake-detect to complete WAKE_OUT event
authorMichael Scott <michael.scott@linaro.org>
Thu, 28 Jan 2016 00:41:00 +0000 (16:41 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 29 Jan 2016 16:50:13 +0000 (08:50 -0800)
commit1e83ee3321447679eb327fed90f366ef18411778
tree50c9560a21c941bf8e939ce28c2583f4e4f3cf89
parent9e1aef82af47edd1697449ca8be5fd3c1c58b9bb
greybus: arche-platform: assert wake-detect to complete WAKE_OUT event

After SVC generates WAKE_OUT (pulling wake-detect pin low) and APB is
brought out of reset, we need to assert wake-detect again to complete
SVC WAKE_OUT logic.

Testing Done:
- Used for DB3.5/EVT1.5 hardware during bringup
- Regression tested on DB3.1+ES2, DB3.1+ES3

Signed-off-by: Michael Scott <michael.scott@linaro.org>
Reviewed-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Tested-by: Vaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/arche-platform.c