]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c06850ba95e01431a008fee860889ccfd3eab0a
tree23bc2cdede07d04b863476563f9e22401da4c012
parent10030d2c17bdf995c352594a2954dccf3768828c
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