chrontel: add a thread to report hdmi audio availability to cras.

There was a race that if chrontel reports the hdmi audio state before
cras is ready to accept it, the state is lost. Now we will retry after
five seconds.

BUG=chromium:257099
TEST=plug hdmi cable, boot zgb, verify audio goes to hdmi monitor.

Change-Id: Ice407a57a5da0d05c73d10e10618f08fccfe1c20
Reviewed-on: https://gerrit.chromium.org/gerrit/62809
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Commit-Queue: Chih-Chung Chang <chihchung@chromium.org>
Tested-by: Chih-Chung Chang <chihchung@chromium.org>
2 files changed