CHROMIUM: Input: cyapa - remove detect work
CYAPA detect has been sped up enough now that it isn't worth the overhead
and complexity of having its own workqueue.
The only time detection is significantly slow (~2 seconds) is immediately
after a firmware update. This case isn't even handled using the detect
work, since the firmware update is now done through the request_firmware()
interface which blocks until the entire update plus detection has
completed.
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
BUG=chromium-os:21047
TEST=cyapa detect occurs immediately during probe and completes within
300ms.
Change-Id: I1575f3a90f4df815737ea6656b5f10b9ee837d90
Reviewed-on: https://gerrit.chromium.org/gerrit/13534
Reviewed-by: Dudley Du <dudl@cypress.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Tested-by: Benson Leung <bleung@chromium.org>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Tested-by: Daniel Kurtz <djkurtz@chromium.org>
Commit-Ready: Daniel Kurtz <djkurtz@chromium.org>