diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 17:25:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-28 17:25:01 -0400 |
commit | 68d99b2c8efcb6ed3807a55569300c53b5f88be5 (patch) | |
tree | f189c8f2132d3668a2f0e503f5c3f8695b26a1c8 /arch/arm/mach-ep93xx | |
parent | 0e59e7e7feb5a12938fbf9135147eeda3238c6c4 (diff) | |
parent | 8128c9f21509f9a8b6da94ac432d845dda458406 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (549 commits)
ALSA: hda - Fix ADC input-amp handling for Cx20549 codec
ALSA: hda - Keep EAPD turned on for old Conexant chips
ALSA: hda/realtek - Fix missing volume controls with ALC260
ASoC: wm8940: Properly set codec->dapm.bias_level
ALSA: hda - Fix pin-config for ASUS W90V
ALSA: hda - Fix surround/CLFE headphone and speaker pins order
ALSA: hda - Fix typo
ALSA: Update the sound git tree URL
ALSA: HDA: Add new revision for ALC662
ASoC: max98095: Convert codec->hw_write to snd_soc_write
ASoC: keep pointer to resource so it can be freed
ASoC: sgtl5000: Fix wrong mask in some snd_soc_update_bits calls
ASoC: wm8996: Fix wrong mask for setting WM8996_AIF_CLOCKING_2
ASoC: da7210: Add support for line out and DAC
ASoC: da7210: Add support for DAPM
ALSA: hda/realtek - Fix DAC assignments of multiple speakers
ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value
ASoC: Set sgtl5000->ldo in ldo_regulator_register
ASoC: wm8996: Use SND_SOC_DAPM_AIF_OUT for AIF2 Capture
ASoC: wm8994: Use SND_SOC_DAPM_AIF_OUT for AIF3 Capture
...
Diffstat (limited to 'arch/arm/mach-ep93xx')
-rw-r--r-- | arch/arm/mach-ep93xx/edb93xx.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/simone.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/snappercl15.c | 13 |
3 files changed, 30 insertions, 2 deletions
diff --git a/arch/arm/mach-ep93xx/edb93xx.c b/arch/arm/mach-ep93xx/edb93xx.c index c63a5ec1a8e3..70ef8c527d27 100644 --- a/arch/arm/mach-ep93xx/edb93xx.c +++ b/arch/arm/mach-ep93xx/edb93xx.c | |||
@@ -160,6 +160,11 @@ static void __init edb93xx_register_spi(void) | |||
160 | /************************************************************************* | 160 | /************************************************************************* |
161 | * EDB93xx I2S | 161 | * EDB93xx I2S |
162 | *************************************************************************/ | 162 | *************************************************************************/ |
163 | static struct platform_device edb93xx_audio_device = { | ||
164 | .name = "edb93xx-audio", | ||
165 | .id = -1, | ||
166 | }; | ||
167 | |||
163 | static int __init edb93xx_has_audio(void) | 168 | static int __init edb93xx_has_audio(void) |
164 | { | 169 | { |
165 | return (machine_is_edb9301() || machine_is_edb9302() || | 170 | return (machine_is_edb9301() || machine_is_edb9302() || |
@@ -171,6 +176,7 @@ static void __init edb93xx_register_i2s(void) | |||
171 | { | 176 | { |
172 | if (edb93xx_has_audio()) { | 177 | if (edb93xx_has_audio()) { |
173 | ep93xx_register_i2s(); | 178 | ep93xx_register_i2s(); |
179 | platform_device_register(&edb93xx_audio_device); | ||
174 | } | 180 | } |
175 | } | 181 | } |
176 | 182 | ||
diff --git a/arch/arm/mach-ep93xx/simone.c b/arch/arm/mach-ep93xx/simone.c index d6f286b4db9c..52e090dc9d27 100644 --- a/arch/arm/mach-ep93xx/simone.c +++ b/arch/arm/mach-ep93xx/simone.c | |||
@@ -53,6 +53,17 @@ static struct i2c_board_info __initdata simone_i2c_board_info[] = { | |||
53 | }, | 53 | }, |
54 | }; | 54 | }; |
55 | 55 | ||
56 | static struct platform_device simone_audio_device = { | ||
57 | .name = "simone-audio", | ||
58 | .id = -1, | ||
59 | }; | ||
60 | |||
61 | static void __init simone_register_audio(void) | ||
62 | { | ||
63 | ep93xx_register_ac97(); | ||
64 | platform_device_register(&simone_audio_device); | ||
65 | } | ||
66 | |||
56 | static void __init simone_init_machine(void) | 67 | static void __init simone_init_machine(void) |
57 | { | 68 | { |
58 | ep93xx_init_devices(); | 69 | ep93xx_init_devices(); |
@@ -61,7 +72,7 @@ static void __init simone_init_machine(void) | |||
61 | ep93xx_register_fb(&simone_fb_info); | 72 | ep93xx_register_fb(&simone_fb_info); |
62 | ep93xx_register_i2c(&simone_i2c_gpio_data, simone_i2c_board_info, | 73 | ep93xx_register_i2c(&simone_i2c_gpio_data, simone_i2c_board_info, |
63 | ARRAY_SIZE(simone_i2c_board_info)); | 74 | ARRAY_SIZE(simone_i2c_board_info)); |
64 | ep93xx_register_ac97(); | 75 | simone_register_audio(); |
65 | } | 76 | } |
66 | 77 | ||
67 | MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board") | 78 | MACHINE_START(SIM_ONE, "Simplemachines Sim.One Board") |
diff --git a/arch/arm/mach-ep93xx/snappercl15.c b/arch/arm/mach-ep93xx/snappercl15.c index 2b4d4b0201df..8121e3aedc0a 100644 --- a/arch/arm/mach-ep93xx/snappercl15.c +++ b/arch/arm/mach-ep93xx/snappercl15.c | |||
@@ -150,6 +150,17 @@ static struct ep93xxfb_mach_info __initdata snappercl15_fb_info = { | |||
150 | .bpp = 16, | 150 | .bpp = 16, |
151 | }; | 151 | }; |
152 | 152 | ||
153 | static struct platform_device snappercl15_audio_device = { | ||
154 | .name = "snappercl15-audio", | ||
155 | .id = -1, | ||
156 | }; | ||
157 | |||
158 | static void __init snappercl15_register_audio(void) | ||
159 | { | ||
160 | ep93xx_register_i2s(); | ||
161 | platform_device_register(&snappercl15_audio_device); | ||
162 | } | ||
163 | |||
153 | static void __init snappercl15_init_machine(void) | 164 | static void __init snappercl15_init_machine(void) |
154 | { | 165 | { |
155 | ep93xx_init_devices(); | 166 | ep93xx_init_devices(); |
@@ -157,7 +168,7 @@ static void __init snappercl15_init_machine(void) | |||
157 | ep93xx_register_i2c(&snappercl15_i2c_gpio_data, snappercl15_i2c_data, | 168 | ep93xx_register_i2c(&snappercl15_i2c_gpio_data, snappercl15_i2c_data, |
158 | ARRAY_SIZE(snappercl15_i2c_data)); | 169 | ARRAY_SIZE(snappercl15_i2c_data)); |
159 | ep93xx_register_fb(&snappercl15_fb_info); | 170 | ep93xx_register_fb(&snappercl15_fb_info); |
160 | ep93xx_register_i2s(); | 171 | snappercl15_register_audio(); |
161 | platform_device_register(&snappercl15_nand_device); | 172 | platform_device_register(&snappercl15_nand_device); |
162 | } | 173 | } |
163 | 174 | ||