diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 12:08:25 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-04 12:08:25 -0400 |
| commit | b77279bc2e81545b20824da701b349272a78e4e7 (patch) | |
| tree | d8f3a8ddf544cf201f8bdcb587cf360571487e5c /include/uapi | |
| parent | 15b588303155b22edd559672905db8e59a44ef9a (diff) | |
| parent | 16088cb6c02d0b766b9b8d7edff98da7f1c93205 (diff) | |
Merge tag 'sound-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound into next
Pull sound updates from Takashi Iwai:
"At this time, majority of changes come from ASoC world while we got a
few new drivers in other places for FireWire and USB. There have been
lots of ASoC core cleanups / refactoring, but very little visible to
external users.
ASoC:
- Support for specifying aux CODECs in DT
- Removal of the deprecated mux and enum macros
- More moves towards full componentisation
- Removal of some unused I/O code
- Lots of cleanups, fixes and enhancements to the davinci, Freescale,
Haswell and Realtek drivers
- Several drivers exposed directly in Kconfig for use with
simple-card
- GPIO descriptor support for jacks
- More updates and fixes to the Freescale SSI, Intel and rsnd drivers
- New drivers for Cirrus CS42L56, Realtek RT5639, RT5642 and RT5651
and ST STA350, Analog Devices ADAU1361, ADAU1381, ADAU1761 and
ADAU1781, and Realtek RT5677
HD-audio:
- Clean up Dell headset quirks
- Noise fixes for Dell and Sony laptops
- Thinkpad T440 dock fix
- Realtek codec updates (ALC293,ALC233,ALC3235)
- Tegra HD-audio HDMI support
FireWire-audio:
- FireWire audio stack enhancement (AMDTP, MIDI), support for
incoming isochronous stream and duplex streams with timestamp
synchronization
- BeBoB-based devices support
- Fireworks-based device support
USB-audio:
- Behringer BCD2000 USB device support
Misc:
- Clean up of a few old drivers, atmel, fm801, etc"
* tag 'sound-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (480 commits)
ASoC: Fix wrong argument for card remove callbacks
ASoC: free jack GPIOs before the sound card is freed
ALSA: firewire-lib: Remove a comment about restriction of asynchronous operation
ASoC: cache: Fix error code when not using ASoC level cache
ALSA: hda/realtek - Fix COEF widget NID for ALC260 replacer fixup
ALSA: hda/realtek - Correction of fixup codes for PB V7900 laptop
ALSA: firewire-lib: Use IEC 61883-6 compliant labels for Raw Audio data
ASoC: add RT5677 CODEC driver
ASoC: intel: The Baytrail/MAX98090 driver depends on I2C
ASoC: rt5640: Add the function "get_clk_info" to RL6231 shared support
ASoC: rt5640: Add the function of the PLL clock calculation to RL6231 shared support
ASoC: rt5640: Add RL6231 class device shared support for RT5640, RT5645 and RT5651
ASoC: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
ASoC: Add helper functions to cast from DAPM context to CODEC/platform
ALSA: bebob: sizeof() vs ARRAY_SIZE() typo
ASoC: wm9713: correct mono out PGA sources
ALSA: synth: emux: soundfont.c: Cleaning up memory leak
ASoC: fsl: Remove dependencies of boards for SND_SOC_EUKREA_TLV320
ASoC: fsl-ssi: Use regmap
ASoC: fsl-ssi: reorder and document fsl_ssi_private
...
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/sound/asound.h | 4 | ||||
| -rw-r--r-- | include/uapi/sound/firewire.h | 23 |
2 files changed, 25 insertions, 2 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 9fc6219d3848..224948342f14 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h | |||
| @@ -94,9 +94,11 @@ enum { | |||
| 94 | SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ | 94 | SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ |
| 95 | SNDRV_HWDEP_IFACE_USB_STREAM, /* direct access to usb stream */ | 95 | SNDRV_HWDEP_IFACE_USB_STREAM, /* direct access to usb stream */ |
| 96 | SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */ | 96 | SNDRV_HWDEP_IFACE_FW_DICE, /* TC DICE FireWire device */ |
| 97 | SNDRV_HWDEP_IFACE_FW_FIREWORKS, /* Echo Audio Fireworks based device */ | ||
| 98 | SNDRV_HWDEP_IFACE_FW_BEBOB, /* BridgeCo BeBoB based device */ | ||
| 97 | 99 | ||
| 98 | /* Don't forget to change the following: */ | 100 | /* Don't forget to change the following: */ |
| 99 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_DICE | 101 | SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_FW_BEBOB |
| 100 | }; | 102 | }; |
| 101 | 103 | ||
| 102 | struct snd_hwdep_info { | 104 | struct snd_hwdep_info { |
diff --git a/include/uapi/sound/firewire.h b/include/uapi/sound/firewire.h index 59f5961302bf..af4bd136c75d 100644 --- a/include/uapi/sound/firewire.h +++ b/include/uapi/sound/firewire.h | |||
| @@ -2,11 +2,13 @@ | |||
| 2 | #define _UAPI_SOUND_FIREWIRE_H_INCLUDED | 2 | #define _UAPI_SOUND_FIREWIRE_H_INCLUDED |
| 3 | 3 | ||
| 4 | #include <linux/ioctl.h> | 4 | #include <linux/ioctl.h> |
| 5 | #include <linux/types.h> | ||
| 5 | 6 | ||
| 6 | /* events can be read() from the hwdep device */ | 7 | /* events can be read() from the hwdep device */ |
| 7 | 8 | ||
| 8 | #define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc | 9 | #define SNDRV_FIREWIRE_EVENT_LOCK_STATUS 0x000010cc |
| 9 | #define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e | 10 | #define SNDRV_FIREWIRE_EVENT_DICE_NOTIFICATION 0xd1ce004e |
| 11 | #define SNDRV_FIREWIRE_EVENT_EFW_RESPONSE 0x4e617475 | ||
| 10 | 12 | ||
| 11 | struct snd_firewire_event_common { | 13 | struct snd_firewire_event_common { |
| 12 | unsigned int type; /* SNDRV_FIREWIRE_EVENT_xxx */ | 14 | unsigned int type; /* SNDRV_FIREWIRE_EVENT_xxx */ |
| @@ -22,10 +24,27 @@ struct snd_firewire_event_dice_notification { | |||
| 22 | unsigned int notification; /* DICE-specific bits */ | 24 | unsigned int notification; /* DICE-specific bits */ |
| 23 | }; | 25 | }; |
| 24 | 26 | ||
| 27 | #define SND_EFW_TRANSACTION_USER_SEQNUM_MAX ((__u32)((__u16)~0) - 1) | ||
| 28 | /* each field should be in big endian */ | ||
| 29 | struct snd_efw_transaction { | ||
| 30 | __be32 length; | ||
| 31 | __be32 version; | ||
| 32 | __be32 seqnum; | ||
| 33 | __be32 category; | ||
| 34 | __be32 command; | ||
| 35 | __be32 status; | ||
| 36 | __be32 params[0]; | ||
| 37 | }; | ||
| 38 | struct snd_firewire_event_efw_response { | ||
| 39 | unsigned int type; | ||
| 40 | __be32 response[0]; /* some responses */ | ||
| 41 | }; | ||
| 42 | |||
| 25 | union snd_firewire_event { | 43 | union snd_firewire_event { |
| 26 | struct snd_firewire_event_common common; | 44 | struct snd_firewire_event_common common; |
| 27 | struct snd_firewire_event_lock_status lock_status; | 45 | struct snd_firewire_event_lock_status lock_status; |
| 28 | struct snd_firewire_event_dice_notification dice_notification; | 46 | struct snd_firewire_event_dice_notification dice_notification; |
| 47 | struct snd_firewire_event_efw_response efw_response; | ||
| 29 | }; | 48 | }; |
| 30 | 49 | ||
| 31 | 50 | ||
| @@ -34,7 +53,9 @@ union snd_firewire_event { | |||
| 34 | #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) | 53 | #define SNDRV_FIREWIRE_IOCTL_UNLOCK _IO('H', 0xfa) |
| 35 | 54 | ||
| 36 | #define SNDRV_FIREWIRE_TYPE_DICE 1 | 55 | #define SNDRV_FIREWIRE_TYPE_DICE 1 |
| 37 | /* Fireworks, AV/C, RME, MOTU, ... */ | 56 | #define SNDRV_FIREWIRE_TYPE_FIREWORKS 2 |
| 57 | #define SNDRV_FIREWIRE_TYPE_BEBOB 3 | ||
| 58 | /* AV/C, RME, MOTU, ... */ | ||
| 38 | 59 | ||
| 39 | struct snd_firewire_get_info { | 60 | struct snd_firewire_get_info { |
| 40 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ | 61 | unsigned int type; /* SNDRV_FIREWIRE_TYPE_xxx */ |
