CHROMIUM: ALSA: hda/ca0132 - Add thorough codec init.
During ca0132_init, check that the codec is ready and if not, reset
and re-initialize.
BUG=chrome-os-partner:14465
TEST=suspend/resume and play youtube.
Change-Id: I70a406042cfb8af80e9d0835d136be2df33f5b28
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/39981
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
(cherry picked from commit
63ce7c56ac8a9dc1135140726f218d22232a5451)
Reviewed-on: https://gerrit.chromium.org/gerrit/41072