CRAS: audio_thread - input/output wake take lists of devs

The functions that calculate the next wake up time don't need a thread,
they only need list of open devices.  This simplified dependency makes
unit testing them easier.

Change-Id: Id9c401d07e5fb80949c8d21a6939c76a04d8264f
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/586628
Commit-Ready: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
1 file changed