diff options
Diffstat (limited to 'sound/soc/omap/omap3evm.c')
-rw-r--r-- | sound/soc/omap/omap3evm.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sound/soc/omap/omap3evm.c b/sound/soc/omap/omap3evm.c index 9114c263077b..dfcb344092e4 100644 --- a/sound/soc/omap/omap3evm.c +++ b/sound/soc/omap/omap3evm.c | |||
@@ -27,7 +27,7 @@ | |||
27 | #include <asm/mach-types.h> | 27 | #include <asm/mach-types.h> |
28 | #include <mach/hardware.h> | 28 | #include <mach/hardware.h> |
29 | #include <mach/gpio.h> | 29 | #include <mach/gpio.h> |
30 | #include <mach/mcbsp.h> | 30 | #include <plat/mcbsp.h> |
31 | 31 | ||
32 | #include "omap-mcbsp.h" | 32 | #include "omap-mcbsp.h" |
33 | #include "omap-pcm.h" | 33 | #include "omap-pcm.h" |
@@ -93,10 +93,17 @@ static struct snd_soc_card snd_soc_omap3evm = { | |||
93 | .num_links = 1, | 93 | .num_links = 1, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | /* twl4030 setup */ | ||
97 | static struct twl4030_setup_data twl4030_setup = { | ||
98 | .ramp_delay_value = 4, | ||
99 | .sysclk = 26000, | ||
100 | }; | ||
101 | |||
96 | /* Audio subsystem */ | 102 | /* Audio subsystem */ |
97 | static struct snd_soc_device omap3evm_snd_devdata = { | 103 | static struct snd_soc_device omap3evm_snd_devdata = { |
98 | .card = &snd_soc_omap3evm, | 104 | .card = &snd_soc_omap3evm, |
99 | .codec_dev = &soc_codec_dev_twl4030, | 105 | .codec_dev = &soc_codec_dev_twl4030, |
106 | .codec_data = &twl4030_setup, | ||
100 | }; | 107 | }; |
101 | 108 | ||
102 | static struct platform_device *omap3evm_snd_device; | 109 | static struct platform_device *omap3evm_snd_device; |
@@ -144,4 +151,4 @@ module_exit(omap3evm_soc_exit); | |||
144 | 151 | ||
145 | MODULE_AUTHOR("Anuj Aggarwal <anuj.aggarwal@ti.com>"); | 152 | MODULE_AUTHOR("Anuj Aggarwal <anuj.aggarwal@ti.com>"); |
146 | MODULE_DESCRIPTION("ALSA SoC OMAP3 EVM"); | 153 | MODULE_DESCRIPTION("ALSA SoC OMAP3 EVM"); |
147 | MODULE_LICENSE("GPLv2"); | 154 | MODULE_LICENSE("GPL v2"); |