CHROMIUM: ALSA: hda/ca0132 - Toggle DAC format when starting a stream.
authorChee Kin Cheong <chee_kin@ctl.creative.com>
Tue, 26 Feb 2013 18:12:27 +0000 (10:12 -0800)
committerChromeBot <chrome-bot@google.com>
Tue, 26 Feb 2013 20:37:33 +0000 (12:37 -0800)
commit73a933f42cb6402ad397cdd7f833b236f75dd9f2
tree4946b86d5d84f44942b4423cd37667343e5ace65
parent8a19eb6313619d4d647ad7ee6936597f6b5f6009
CHROMIUM: ALSA: hda/ca0132 - Toggle DAC format when starting a stream.

Sometimes the DAC format would be incorrect after resume even if the
register indicated it was correct. Add a toggle of the format to make
sure the DAC gets audio in the format it expects.

BUG=chrome-os-parnter:17740
TEST=overnight loopback test checking for audio while suspend/resuming
the codec.

Change-Id: Ib27c7cb2489ea1c2c864ed4c6bc4ff98e1142792
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/44056
Reviewed-by: Chih-Chung Chang <chihchung@chromium.org>
sound/pci/hda/patch_ca0132.c