Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: sound/soc/omap/omap3beagle.c

Issue 6577007: CHROMIUM: ASoC: Import entire upstream ASoC tree (Closed)
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sound/soc/omap/omap2evm.c ('k') | sound/soc/omap/omap3evm.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * omap3beagle.c -- SoC audio for OMAP3 Beagle 2 * omap3beagle.c -- SoC audio for OMAP3 Beagle
3 * 3 *
4 * Author: Steve Sakoman <steve@sakoman.com> 4 * Author: Steve Sakoman <steve@sakoman.com>
5 * 5 *
6 * This program is free software; you can redistribute it and/or 6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License 7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation. 8 * version 2 as published by the Free Software Foundation.
9 * 9 *
10 * This program is distributed in the hope that it will be useful, but 10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of 11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details. 13 * General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software 16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18 * 02110-1301 USA 18 * 02110-1301 USA
19 * 19 *
20 */ 20 */
21 21
22 #include <linux/clk.h> 22 #include <linux/clk.h>
23 #include <linux/platform_device.h> 23 #include <linux/platform_device.h>
24 #include <sound/core.h> 24 #include <sound/core.h>
25 #include <sound/pcm.h> 25 #include <sound/pcm.h>
26 #include <sound/soc.h> 26 #include <sound/soc.h>
27 #include <sound/soc-dapm.h>
28 27
29 #include <asm/mach-types.h> 28 #include <asm/mach-types.h>
30 #include <mach/hardware.h> 29 #include <mach/hardware.h>
31 #include <mach/gpio.h> 30 #include <mach/gpio.h>
32 #include <plat/mcbsp.h> 31 #include <plat/mcbsp.h>
33 32
34 #include "omap-mcbsp.h" 33 #include "omap-mcbsp.h"
35 #include "omap-pcm.h" 34 #include "omap-pcm.h"
36 35
37 static int omap3beagle_hw_params(struct snd_pcm_substream *substream, 36 static int omap3beagle_hw_params(struct snd_pcm_substream *substream,
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 { 140 {
142 platform_device_unregister(omap3beagle_snd_device); 141 platform_device_unregister(omap3beagle_snd_device);
143 } 142 }
144 143
145 module_init(omap3beagle_soc_init); 144 module_init(omap3beagle_soc_init);
146 module_exit(omap3beagle_soc_exit); 145 module_exit(omap3beagle_soc_exit);
147 146
148 MODULE_AUTHOR("Steve Sakoman <steve@sakoman.com>"); 147 MODULE_AUTHOR("Steve Sakoman <steve@sakoman.com>");
149 MODULE_DESCRIPTION("ALSA SoC OMAP3 Beagle"); 148 MODULE_DESCRIPTION("ALSA SoC OMAP3 Beagle");
150 MODULE_LICENSE("GPL"); 149 MODULE_LICENSE("GPL");
OLDNEW
« no previous file with comments | « sound/soc/omap/omap2evm.c ('k') | sound/soc/omap/omap3evm.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698