diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 14:51:23 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-13 14:51:23 -0500 |
| commit | 046e7d685bc370fd4c879ab6635ad3f69e6673d1 (patch) | |
| tree | 36b981f8d1f2bfd348c1479acbe3a9426d35c377 /include/linux/platform_data | |
| parent | fe504c5c745aeb767d978fbedeb94775fd4cb69c (diff) | |
| parent | 6eb827d23577a4efec2b10a9c4cc9ded268a1d1c (diff) | |
Merge tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound updates from Takashi Iwai:
"This update contains a fairly wide range of changes all over in sound
subdirectory, mainly because of UAPI header moves by David and __dev*
annotation removals by Bill. Other highlights are:
- Introduced the support for wallclock timestamps in ALSA PCM core
- Add the poll loop implementation for HD-audio jack detection
- Yet more VGA-switcheroo fixes for HD-audio
- New VIA HD-audio codec support
- More fixes on resource management in USB audio and MIDI drivers
- More quirks for USB-audio ASUS Xonar U3, Reloop Play, Focusrite,
Roland VG-99, etc
- Add support for FastTrack C400 usb-audio
- Clean ups in many drivers regarding firmware loading
- Add PSC724 Ultiimate Edge support to ice1712
- A few hdspm driver updates
- New Stanton SCS.1d/1m FireWire driver
- Standardisation of the logging in ASoC codes
- DT and dmaengine support for ASoC Atmel
- Support for Wolfson ADSP cores
- New drivers for Freescale/iVeia P1022 and Maxim MAX98090
- Lots of other ASoC driver fixes and developments"
Fix up trivial conflicts. And go out on a limb and assume the dts file
'status' field of one of the conflicting things was supposed to be
"disabled", not "disable" like in pretty much all other cases.
* tag 'sound-3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (341 commits)
ALSA: hda - Move runtime PM check to runtime_idle callback
ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
ALSA: hda - Avoid doubly suspend after vga switcheroo
ALSA: usb-audio: Enable S/PDIF on the ASUS Xonar U3
ALSA: hda - Check validity of CORB/RIRB WP reads
ALSA: hda - use usleep_range in link reset and change timeout check
ALSA: HDA: VIA: Add support for codec VT1808.
ALSA: HDA: VIA Add support for codec VT1705CF.
ASoC: codecs: remove __dev* attributes
ASoC: utils: remove __dev* attributes
ASoC: ux500: remove __dev* attributes
ASoC: txx9: remove __dev* attributes
ASoC: tegra: remove __dev* attributes
ASoC: spear: remove __dev* attributes
ASoC: sh: remove __dev* attributes
ASoC: s6000: remove __dev* attributes
ASoC: OMAP: remove __dev* attributes
ASoC: nuc900: remove __dev* attributes
ASoC: mxs: remove __dev* attributes
ASoC: kirkwood: remove __dev* attributes
...
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/asoc-s3c.h | 6 | ||||
| -rw-r--r-- | include/linux/platform_data/davinci_asp.h | 4 | ||||
| -rw-r--r-- | include/linux/platform_data/omap-twl4030.h | 26 |
3 files changed, 29 insertions, 7 deletions
diff --git a/include/linux/platform_data/asoc-s3c.h b/include/linux/platform_data/asoc-s3c.h index aa9875f77c40..88272591a895 100644 --- a/include/linux/platform_data/asoc-s3c.h +++ b/include/linux/platform_data/asoc-s3c.h | |||
| @@ -38,12 +38,6 @@ struct samsung_i2s { | |||
| 38 | #define QUIRK_NEED_RSTCLR (1 << 3) | 38 | #define QUIRK_NEED_RSTCLR (1 << 3) |
| 39 | /* Quirks of the I2S controller */ | 39 | /* Quirks of the I2S controller */ |
| 40 | u32 quirks; | 40 | u32 quirks; |
| 41 | |||
| 42 | /* | ||
| 43 | * Array of clock names that can be used to generate I2S signals. | ||
| 44 | * Also corresponds to clocks of I2SMOD[10] | ||
| 45 | */ | ||
| 46 | const char **src_clk; | ||
| 47 | dma_addr_t idma_addr; | 41 | dma_addr_t idma_addr; |
| 48 | }; | 42 | }; |
| 49 | 43 | ||
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h index d0c5825876f8..8db5ae03b6e3 100644 --- a/include/linux/platform_data/davinci_asp.h +++ b/include/linux/platform_data/davinci_asp.h | |||
| @@ -16,12 +16,13 @@ | |||
| 16 | #ifndef __DAVINCI_ASP_H | 16 | #ifndef __DAVINCI_ASP_H |
| 17 | #define __DAVINCI_ASP_H | 17 | #define __DAVINCI_ASP_H |
| 18 | 18 | ||
| 19 | #include <linux/genalloc.h> | ||
| 20 | |||
| 19 | struct snd_platform_data { | 21 | struct snd_platform_data { |
| 20 | u32 tx_dma_offset; | 22 | u32 tx_dma_offset; |
| 21 | u32 rx_dma_offset; | 23 | u32 rx_dma_offset; |
| 22 | int asp_chan_q; /* event queue number for ASP channel */ | 24 | int asp_chan_q; /* event queue number for ASP channel */ |
| 23 | int ram_chan_q; /* event queue number for RAM channel */ | 25 | int ram_chan_q; /* event queue number for RAM channel */ |
| 24 | unsigned int codec_fmt; | ||
| 25 | /* | 26 | /* |
| 26 | * Allowing this is more efficient and eliminates left and right swaps | 27 | * Allowing this is more efficient and eliminates left and right swaps |
| 27 | * caused by underruns, but will swap the left and right channels | 28 | * caused by underruns, but will swap the left and right channels |
| @@ -30,6 +31,7 @@ struct snd_platform_data { | |||
| 30 | unsigned enable_channel_combine:1; | 31 | unsigned enable_channel_combine:1; |
| 31 | unsigned sram_size_playback; | 32 | unsigned sram_size_playback; |
| 32 | unsigned sram_size_capture; | 33 | unsigned sram_size_capture; |
| 34 | struct gen_pool *sram_pool; | ||
| 33 | 35 | ||
| 34 | /* | 36 | /* |
| 35 | * If McBSP peripheral gets the clock from an external pin, | 37 | * If McBSP peripheral gets the clock from an external pin, |
diff --git a/include/linux/platform_data/omap-twl4030.h b/include/linux/platform_data/omap-twl4030.h index c7bef788daab..ee60ef79d792 100644 --- a/include/linux/platform_data/omap-twl4030.h +++ b/include/linux/platform_data/omap-twl4030.h | |||
| @@ -25,8 +25,34 @@ | |||
| 25 | #ifndef _OMAP_TWL4030_H_ | 25 | #ifndef _OMAP_TWL4030_H_ |
| 26 | #define _OMAP_TWL4030_H_ | 26 | #define _OMAP_TWL4030_H_ |
| 27 | 27 | ||
| 28 | /* To select if only one channel is connected in a stereo port */ | ||
| 29 | #define OMAP_TWL4030_LEFT (1 << 0) | ||
| 30 | #define OMAP_TWL4030_RIGHT (1 << 1) | ||
| 31 | |||
| 28 | struct omap_tw4030_pdata { | 32 | struct omap_tw4030_pdata { |
| 29 | const char *card_name; | 33 | const char *card_name; |
| 34 | /* Voice port is connected to McBSP3 */ | ||
| 35 | bool voice_connected; | ||
| 36 | |||
| 37 | /* The driver will parse the connection flags if this flag is set */ | ||
| 38 | bool custom_routing; | ||
| 39 | /* Flags to indicate connected audio ports. */ | ||
| 40 | u8 has_hs; | ||
| 41 | u8 has_hf; | ||
| 42 | u8 has_predriv; | ||
| 43 | u8 has_carkit; | ||
| 44 | bool has_ear; | ||
| 45 | |||
| 46 | bool has_mainmic; | ||
| 47 | bool has_submic; | ||
| 48 | bool has_hsmic; | ||
| 49 | bool has_carkitmic; | ||
| 50 | bool has_digimic0; | ||
| 51 | bool has_digimic1; | ||
| 52 | u8 has_linein; | ||
| 53 | |||
| 54 | /* Jack detect GPIO or <= 0 if it is not implemented */ | ||
| 55 | int jack_detect; | ||
| 30 | }; | 56 | }; |
| 31 | 57 | ||
| 32 | #endif /* _OMAP_TWL4030_H_ */ | 58 | #endif /* _OMAP_TWL4030_H_ */ |
