forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: Stefan Richter <[email protected]> Tested-by: Jay Fenlason <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information
Showing
20 changed files
with
2,651 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
menuconfig SND_FIREWIRE | ||
bool "FireWire sound devices" | ||
depends on FIREWIRE | ||
default y | ||
help | ||
Support for IEEE-1394/FireWire/iLink sound devices. | ||
|
||
if SND_FIREWIRE && FIREWIRE | ||
|
||
config SND_FIREWIRE_LIB | ||
tristate | ||
depends on SND_PCM | ||
|
||
config SND_FIREWIRE_SPEAKERS | ||
tristate "FireWire speakers" | ||
select SND_PCM | ||
select SND_FIREWIRE_LIB | ||
help | ||
Say Y here to include support for the Griffin FireWave Surround | ||
and the LaCie FireWire Speakers. | ||
|
||
To compile this driver as a module, choose M here: the module | ||
will be called snd-firewire-speakers. | ||
|
||
endif # SND_FIREWIRE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
snd-firewire-lib-objs := lib.o iso-resources.o packets-buffer.o \ | ||
fcp.o cmp.o amdtp.o | ||
snd-firewire-speakers-objs := speakers.o | ||
|
||
obj-$(CONFIG_SND_FIREWIRE_LIB) += snd-firewire-lib.o | ||
obj-$(CONFIG_SND_FIREWIRE_SPEAKERS) += snd-firewire-speakers.o |
Oops, something went wrong.