]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ALSA: au88x0: Give comment for vortex_wtdma_bufshift() issue
authorTakashi Iwai <tiwai@suse.de>
Thu, 25 Oct 2012 11:55:51 +0000 (13:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 25 Oct 2012 11:55:51 +0000 (13:55 +0200)
commit7dd7a2fd7eb147a610506f6c6f871c03908fc58a
tree1f9dfac1775587f069ff6322955cfc33d222f283
parentf598158aa43d43a99af34953facfe19085d2977e
ALSA: au88x0: Give comment for vortex_wtdma_bufshift() issue

The check of the return value from vortex_wtdma_bufshft() in
vortex_interrupt() is useless as it executes no code.  Actually the
return value is intentionally ignored because the delta calculation
for wavetable doesn't work always correctly.  For avoiding the
confusion, a comment is added and the superfluous if () is removed.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/au88x0/au88x0_core.c