ALSA: hda/ca0132 - Update latency based on DSP state.
authorDylan Reid <dgreid@chromium.org>
Thu, 4 Apr 2013 20:55:09 +0000 (13:55 -0700)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Apr 2013 05:34:21 +0000 (07:34 +0200)
commite8412ca4d62398a84d2e539a464313e948258339
tree23bc2cdede07d04b863476563f9e22401da4c012
parent21229613eff5b6241d27e2588d10588d5656d500
ALSA: hda/ca0132 - Update latency based on DSP state.

The DSP in the CA0132 codec adds a variable latency to audio depending
on what processing is being done.  Add a new patch op to return that
latency for capture and playback streams.  The latency is determined
by which blocks are enabled and knowing how much latency is added by
each block.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c