linux/sound/firewire
Takashi Sakamoto 65845f29be ALSA: firewire-lib/dice: add arrangements of PCM pointer and interrupts for Dice quirk
In IEC 61883-6, one data block transfers one event. In ALSA, the event equals one PCM frame,
hence one data block transfers one PCM frame. But Dice has a quirk at higher sampling rate
(176.4/192.0 kHz) that one data block transfers two PCM frames.

Commit 10550bea44 ("ALSA: dice/firewire-lib: Keep dualwire mode but obsolete
CIP_HI_DUALWIRE") moved some codes related to this quirk into Dice driver. But the commit
forgot to add arrangements for PCM period interrupts and DMA pointer updates. As a result, Dice
driver cannot work correctly at higher sampling rate.

This commit adds 'double_pcm_frames' parameter to amdtp structure for this quirk. When this
parameter is set, PCM period interrupts and DMA pointer updates occur at double speed than in
IEC 61883-6.

Reported-by: Daniel Robbins <drobbins@funtoo.org>
Fixes: 10550bea44 ("ALSA: dice/firewire-lib: Keep dualwire mode but obsolete CIP_HI_DUALWIRE")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org> # 3.16
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-08-29 09:52:07 +02:00
..
bebob
fireworks ALSA: fireworks: fix specifiers in format strings for propper output 2014-08-05 09:15:20 +02:00
amdtp.c ALSA: firewire-lib/dice: add arrangements of PCM pointer and interrupts for Dice quirk 2014-08-29 09:52:07 +02:00
amdtp.h ALSA: firewire-lib/dice: add arrangements of PCM pointer and interrupts for Dice quirk 2014-08-29 09:52:07 +02:00
cmp.c
cmp.h
dice-interface.h
dice.c ALSA: firewire-lib/dice: add arrangements of PCM pointer and interrupts for Dice quirk 2014-08-29 09:52:07 +02:00
fcp.c
fcp.h
isight.c
iso-resources.c
iso-resources.h
Kconfig ALSA: firewire: trivial typo fixes in Kconfig 2014-07-28 10:26:42 +02:00
lib.c
lib.h
Makefile
packets-buffer.c
packets-buffer.h
scs1x.c
speakers.c