diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 23:07:24 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-06 23:07:24 -0400 |
| commit | 930e0312bcdc96d15f02ed6812d4a6c947855a2d (patch) | |
| tree | d2d620c06359510562b25987cf329c77e41b7c11 /include/uapi | |
| parent | ec6c0a77786524e44003e70ea69651ad7fb35aec (diff) | |
| parent | a509574e5ea7b617268943526773ebf7e2d20a9b (diff) | |
Merge tag 'sound-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai:
"There've been many updates in ASoC side at this time, especially the
framework enhancement for multiple CODECs on a single DAI and more
componentization works.
The only major change in ALSA core is the addition of timestamp type
in sw_params field. This should behave in backward compatible way.
Other than that, there are lots of small changes and new drivers in
wide range, including a large code cut in HD-audio driver for
deprecated static quirks. Some highlights are below:
ALSA Core:
- Add the new timestamp type field to sw_params to choose
MONOTONIC_RAW type
HD-audio:
- Continued conversion to standard printk macros, generic code
cleanups
- Removal of obsoleted static quirk codes for Conexant and C-Media
codecs
- Fixups for HP Envy TS, Dell XPS 15, HP and Dell mute/mic LED,
Gigabyte BXBT-2807 mobo
- Intel Braswell support
ASoC:
- Support for multiple CODECs attached to a single DAI, enabling
systems with for example multiple DAC/speaker drivers on a single
link, contributed by Benoit Cousson based on work from Misael Lopez
Cruz
- Support for byte controls larger than 256 bytes based on the use of
TLVs contributed by Omair Mohammed Abdullah
- More componentisation work from Lars-Peter Clausen
- The remainder of the conversions of CODEC drivers to params_width()
by Mark Brown
- Drivers for Cirrus Logic CS4265, Freescale i.MX ASRC blocks,
Realtek RT286 and RT5670, Rockchip RK3xxx I2S controllers and Texas
Instruments TAS2552
- Lots of updates and fixes, especially to the DaVinci, Intel,
Freescale, Realtek, and rcar drivers"
* tag 'sound-3.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (402 commits)
ALSA: usb-audio: Whitespace cleanups for sound/usb/midi.*
ALSA: usb-audio: Respond to suspend and resume callbacks for MIDI input
sound/oss/pss: Remove typedefs pss_mixerdata and pss_confdata
sound/oss/opl3: Remove typedef opl_devinfo
ALSA: fireworks: fix specifiers in format strings for propper output
ASoC: imx-audmux: Use uintptr_t for port numbers
ASoC: davinci: Enable menuconfig entry for McASP
ASoC: fsl_asrc: Don't access members of config before checking it
ASoC: fsl_sarc_dma: Check pair before using it
ASoC: adau1977: Fix truncation warning on 64 bit architectures
ALSA: virtuoso: add Xonar Essence STX II support
ALSA: riptide: fix %d confusingly prefixed with 0x in format strings
ALSA: fireworks: fix %d confusingly prefixed with 0x in format strings
ALSA: hda - add codec ID for Braswell display audio codec
ALSA: hda - add PCI IDs for Intel Braswell
ALSA: usb-audio: Adjust Gamecom 780 volume level
ALSA: usb-audio: improve dmesg source grepability
ASoC: rt5670: Fix duplicate const warnings
ASoC: rt5670: Staticise non-exported symbols
ASoC: Intel: update stream only on stream IPC msgs
...
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/sound/asound.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h index 224948342f14..32168f7ffce3 100644 --- a/include/uapi/sound/asound.h +++ b/include/uapi/sound/asound.h | |||
| @@ -139,7 +139,7 @@ struct snd_hwdep_dsp_image { | |||
| 139 | * * | 139 | * * |
| 140 | *****************************************************************************/ | 140 | *****************************************************************************/ |
| 141 | 141 | ||
| 142 | #define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 11) | 142 | #define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 12) |
| 143 | 143 | ||
| 144 | typedef unsigned long snd_pcm_uframes_t; | 144 | typedef unsigned long snd_pcm_uframes_t; |
| 145 | typedef signed long snd_pcm_sframes_t; | 145 | typedef signed long snd_pcm_sframes_t; |
| @@ -391,7 +391,9 @@ struct snd_pcm_sw_params { | |||
| 391 | snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ | 391 | snd_pcm_uframes_t silence_threshold; /* min distance from noise for silence filling */ |
| 392 | snd_pcm_uframes_t silence_size; /* silence block size */ | 392 | snd_pcm_uframes_t silence_size; /* silence block size */ |
| 393 | snd_pcm_uframes_t boundary; /* pointers wrap point */ | 393 | snd_pcm_uframes_t boundary; /* pointers wrap point */ |
| 394 | unsigned char reserved[64]; /* reserved for future */ | 394 | unsigned int proto; /* protocol version */ |
| 395 | unsigned int tstamp_type; /* timestamp type (req. proto >= 2.0.12) */ | ||
| 396 | unsigned char reserved[56]; /* reserved for future */ | ||
| 395 | }; | 397 | }; |
| 396 | 398 | ||
| 397 | struct snd_pcm_channel_info { | 399 | struct snd_pcm_channel_info { |
| @@ -462,7 +464,8 @@ struct snd_xfern { | |||
| 462 | enum { | 464 | enum { |
| 463 | SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0, /* gettimeofday equivalent */ | 465 | SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0, /* gettimeofday equivalent */ |
| 464 | SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, /* posix_clock_monotonic equivalent */ | 466 | SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, /* posix_clock_monotonic equivalent */ |
| 465 | SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC, | 467 | SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW, /* monotonic_raw (no NTP) */ |
| 468 | SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW, | ||
| 466 | }; | 469 | }; |
| 467 | 470 | ||
| 468 | /* channel positions */ | 471 | /* channel positions */ |
