ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver
authorClemens Ladisch <clemens@ladisch.de>
Tue, 15 Mar 2011 06:53:21 +0000 (07:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 Mar 2011 07:42:22 +0000 (08:42 +0100)
commit31ef9134eb52636d383a7d0626cbbd345cb94f2f
tree5d994932a8773e844190cbea43ef31d67f605cf8
parenta5abba989deceb731047425812d268daf7536575
ALSA: add LaCie FireWire Speakers/Griffin FireWave Surround driver

Add a driver for two playback-only FireWire devices based on the OXFW970
chip.

v2: better AMDTP API abstraction; fix fw_unit leak; small fixes
v3: cache the iPCR value
v4: FireWave constraints; fix fw_device reference counting;
    fix PCR caching; small changes and fixes
v5: volume/mute support; fix crashing due to pcm stop races
v6: fix build; one-channel volume for LaCie
v7: use signed values to make volume (range checks) work; fix function
    block IDs for volume/mute; always use channel 0 for LaCie volume

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Acked-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Tested-by: Jay Fenlason <fenlason@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
20 files changed:
drivers/firewire/core-iso.c
drivers/firewire/core.h
include/linux/firewire.h
sound/Kconfig
sound/Makefile
sound/firewire/Kconfig [new file with mode: 0644]
sound/firewire/Makefile [new file with mode: 0644]
sound/firewire/amdtp.c [new file with mode: 0644]
sound/firewire/amdtp.h [new file with mode: 0644]
sound/firewire/cmp.c [new file with mode: 0644]
sound/firewire/cmp.h [new file with mode: 0644]
sound/firewire/fcp.c [new file with mode: 0644]
sound/firewire/fcp.h [new file with mode: 0644]
sound/firewire/iso-resources.c [new file with mode: 0644]
sound/firewire/iso-resources.h [new file with mode: 0644]
sound/firewire/lib.c [new file with mode: 0644]
sound/firewire/lib.h [new file with mode: 0644]
sound/firewire/packets-buffer.c [new file with mode: 0644]
sound/firewire/packets-buffer.h [new file with mode: 0644]
sound/firewire/speakers.c [new file with mode: 0644]