]> git.karo-electronics.de Git - linux-beck.git/commit
greybus: arche-platform: reduce wait between WAKE_OUT checks
authorMichael Scott <michael.scott@linaro.org>
Thu, 28 Jan 2016 00:41:01 +0000 (16:41 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 29 Jan 2016 16:50:13 +0000 (08:50 -0800)
commita3043d9e717ace89a34352e57d88c70584f9c768
treec5b313daf39fc7c65412f062f483b881973956d3
parent1e83ee3321447679eb327fed90f366ef18411778
greybus: arche-platform: reduce wait between WAKE_OUT checks

SVC WAKE_OUT loop is estimated 400ms during which wake_detect line
is pulled low for AP detection.  On AP side we have 500ms delay
between checks.  To avoid timing issues, reduce delay between
checks and raise total # of checks so that overall time for sequence
is the same.

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