CHROMIUM: ALSA: hda/ca0132 - Add thorough codec init.
authorChee Kin Cheong <chee_kin@ctl.creative.com>
Wed, 19 Dec 2012 16:49:06 +0000 (08:49 -0800)
committerChromeBot <chrome-bot@google.com>
Thu, 3 Jan 2013 18:13:47 +0000 (10:13 -0800)
commit63ce7c56ac8a9dc1135140726f218d22232a5451
treefefb70c4b989d0d1c3db9fd1cc8b88499ad3c918
parentfbd6ba64ec18d644cd3c38158d21d341e1ca6a6d
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>
sound/pci/hda/patch_ca0132.c